Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] ppc32: Make the Powerstack II Pro4000 boot again

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>

authored by

Leigh Brown and committed by
Linus Torvalds
b625a2b8 ef2f3253

+7 -2
+7 -2
arch/ppc/platforms/prep_pci.c
··· 1245 1245 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, dev->irq); 1246 1246 } 1247 1247 1248 - /* Setup the Winbond or Via PIB */ 1249 - prep_pib_init(); 1248 + /* Setup the Winbond or Via PIB - prep_pib_init() is coded for 1249 + * the non-openpic case, but it breaks (at least) the Utah 1250 + * (Powerstack II Pro4000), so only call it if we have an 1251 + * openpic. 1252 + */ 1253 + if (have_openpic) 1254 + prep_pib_init(); 1250 1255 } 1251 1256 1252 1257 static void __init