]> err.no Git - linux-2.6/commitdiff
[PATCH] ppc32: Make the Powerstack II Pro4000 boot again
authorLeigh Brown <leigh@solinno.co.uk>
Sat, 16 Apr 2005 22:24:26 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:26 +0000 (15:24 -0700)
This patch restores the original behaviour of prep_pcibios_fixup() to only
call prep_pib_init() on machines with an openpic.  This allows the
Powerstack II Pro4000 to boot again.

Signed-off-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/platforms/prep_pci.c

index 8cd80eb447bd4e694c9a9c16a5a62f96f328a3fa..4760cb64251d4cb705ec46f917125e680711237d 100644 (file)
@@ -1245,8 +1245,13 @@ prep_pcibios_fixup(void)
                pci_write_config_byte(dev, PCI_INTERRUPT_LINE, dev->irq);
        }
 
-       /* Setup the Winbond or Via PIB */
-       prep_pib_init();
+       /* Setup the Winbond or Via PIB - prep_pib_init() is coded for
+        * the non-openpic case, but it breaks (at least) the Utah
+        * (Powerstack II Pro4000), so only call it if we have an
+        * openpic.
+        */
+       if (have_openpic)
+               prep_pib_init();
 }
 
 static void __init