From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: Paul Mackerras From: Benjamin Herrenschmidt Date: Thu, 26 Jul 2007 14:07:14 +1000 Subject: [PATCH 3/3] powerpc: Fix Maple platform ISA bus Message-Id: <20070726040755.50545DDEDA@ozlabs.org> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 --- 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; }