linux-mips
[Top] [All Lists]

Re: [PATCH 1/5] MIPS: fix cobalt I/O resource range

To: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Subject: Re: [PATCH 1/5] MIPS: fix cobalt I/O resource range
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 4 Dec 2006 14:10:42 +0000
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <20061201221242.261f57b0.yoichi_yuasa@tripeaks.co.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20061201221242.261f57b0.yoichi_yuasa@tripeaks.co.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Fri, Dec 01, 2006 at 10:12:42PM +0900, Yoichi Yuasa wrote:

> This patch has fixed cobalt I/O reource range.
> The cobalt real I/O resource range from 0x0 to 0xffff.
> 
> Yoichi
> 
> Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
> 
> diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/cobalt/setup.c 
> mips/arch/mips/cobalt/setup.c
> --- mips-orig/arch/mips/cobalt/setup.c        2006-10-12 01:03:18.055569000 
> +0900
> +++ mips/arch/mips/cobalt/setup.c     2006-10-12 01:01:59.973744750 +0900
> @@ -130,8 +130,7 @@ void __init plat_mem_setup(void)
>  
>       set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
>  
> -     /* I/O port resource must include UART and LCD/buttons */
> -     ioport_resource.end = 0x0fffffff;
> +     ioport_resource.end = 0xffff;

This is actually the default, so the code can go and anyway then the
code stops making sense, too.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>