linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 1/5] MIPS: fix cobalt I/O resource range
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Wed, 6 Dec 2006 09:40:45 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips@linux-mips.org
In-reply-to: <20061204141042.GA7231@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20061201221242.261f57b0.yoichi_yuasa@tripeaks.co.jp> <20061204141042.GA7231@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

Thank you for your comments.
I'll update my patches.

Yoichi

On Mon, 4 Dec 2006 14:10:42 +0000
Ralf Baechle <ralf@linux-mips.org> wrote:

> 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>