MIPS: PCI: Scan busses when they are registered
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 14 Oct 2008 09:45:09 +0000 (11:45 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 15 Oct 2008 11:46:51 +0000 (12:46 +0100)
commit540799e32eb146c9363445d1118b2bfdebd3da0b
tree241a0d2240e2170ac339da2e6846a206177a123d
parent89f8c04a49019eeb3998f9f0990256aec146fe9d
MIPS: PCI: Scan busses when they are registered

The patch below changes register_pci_controller() such that controllers
being added after pcibios_init() has run are be scanned immediately.

This is needed for example by the BCM47xx PCI controller, which is located
on the SSB bus, which is now initialized after the PCI subsystem.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci.c