[PATCH 3/3] powerpc: Fix Maple platform ISA bus
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-07-26 04:07:14
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-07-26 04:07:14
The Maple platform has ISA IOs but didn't call the new functions to actually map those, thus crashing when trying to access the nvram. This fixes Maple and js2x using SLOF Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> --- arch/powerpc/platforms/maple/pci.c | 3 +++ 1 file changed, 3 insertions(+) Index: linux-work/arch/powerpc/platforms/maple/pci.c ===================================================================
--- linux-work.orig/arch/powerpc/platforms/maple/pci.c 2007-07-25 16:29:22.000000000 +1000
+++ linux-work/arch/powerpc/platforms/maple/pci.c 2007-07-26 10:30:43.000000000 +1000@@ -490,6 +490,9 @@ static int __init maple_add_bridge(struc /* Fixup "bus-range" OF property */ fixup_bus_range(dev); + /* Check for legacy IOs */ + isa_bridge_find_early(hose); + return 0; }