linux-mips
[Top] [All Lists]

[PATCH][MIPS] fix Cobalt I/O port resource range

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] fix Cobalt I/O port resource range
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Fri, 18 Jul 2008 23:03:15 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
LCD and buttons don't use I/O port space.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/arch/mips/cobalt/setup.c 
linux/arch/mips/cobalt/setup.c
--- linux-orig/arch/mips/cobalt/setup.c 2008-07-15 20:05:40.933592594 +0900
+++ linux/arch/mips/cobalt/setup.c      2008-07-15 20:04:49.034635042 +0900
@@ -81,8 +81,8 @@ void __init plat_mem_setup(void)
 
        set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
 
-       /* I/O port resource must include LCD/buttons */
-       ioport_resource.end = 0x0fffffff;
+       /* I/O port resource */
+       ioport_resource.end = 0x01ffffff;
 
        /* These resources have been reserved by VIA SuperI/O chip. */
        for (i = 0; i < ARRAY_SIZE(cobalt_reserved_resources); i++)

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