Skip to contentSkip to conversation

powerpc: Fix Maple platform ISA bus

PATCH New Benjamin Herrenschmidt 1 participant 1 message Jul 26, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 powerpc: Fix Maple platform ISA bus

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

---

 arch/powerpc/platforms/maple/pci.c |    3 +++
 1 file changed, 3 insertions(+)
arch/powerpc/platforms/maple/pci.c +3 -0
Index: linux-work/arch/powerpc/platforms/maple/pci.c
===================================================================
@@ -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;
 }