Pārlūkot izejas kodu

[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>
Benjamin Herrenschmidt 18 gadi atpakaļ
vecāks
revīzija
17cd87c26b
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      arch/powerpc/platforms/maple/pci.c

+ 3 - 0
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" OF property */
 	fixup_bus_range(dev);
 	fixup_bus_range(dev);
 
 
+	/* Check for legacy IOs */
+	isa_bridge_find_early(hose);
+
 	return 0;
 	return 0;
 }
 }