[PATCH 3/3] powerpc: Fix Maple platform ISA bus
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Jul 26 14:07:14 EST 2007
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 at 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;
}
More information about the Linuxppc-dev
mailing list