aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-07-26 14:07:14 +1000
committerPaul Mackerras <paulus@samba.org>2007-07-26 16:17:49 +1000
commit17cd87c26bd86546ea3217397ef3428581970058 (patch)
tree29d6f3645faeb0cf97efcd50829b1cc7427a68a3
parent[POWERPC] Make pci_iounmap actually unmap things (diff)
downloadlinux-dev-17cd87c26bd86546ea3217397ef3428581970058.tar.xz
linux-dev-17cd87c26bd86546ea3217397ef3428581970058.zip
[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. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/platforms/maple/pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/maple/pci.c b/arch/powerpc/platforms/maple/pci.c
index fceaae40fe70..2542403288f9 100644
--- a/arch/powerpc/platforms/maple/pci.c
+++ b/arch/powerpc/platforms/maple/pci.c
@@ -490,6 +490,9 @@ static int __init maple_add_bridge(struct device_node *dev)
/* Fixup "bus-range" OF property */
fixup_bus_range(dev);
+ /* Check for legacy IOs */
+ isa_bridge_find_early(hose);
+
return 0;
}