Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH][MIPS] fix Cobalt I/O port resource range
@ 2008-07-18 14:03 Yoichi Yuasa
  2008-07-18 14:26 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2008-07-18 14:03 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-18 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 14:03 [PATCH][MIPS] fix Cobalt I/O port resource range Yoichi Yuasa
2008-07-18 14:26 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox