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