]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86/PCI: make pci=lastbus=255 work when acpi is on
authorYinghai Lu <yinghai@kernel.org>
Wed, 25 Mar 2009 20:26:13 +0000 (13:26 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 26 Mar 2009 23:07:49 +0000 (16:07 -0700)
Impact: scan more peer root buses even acpi is used

Move pci_bios_fixup_peer_bridges out of pci_legacy_init and into
pci_subsys_init.  This allows pci_bios_fixup_peer_bridges to be called
even pci_apci_init is driving PCI initialization.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/legacy.c

index f1065b129e9cf981fa52c374dcf3bf2c4987fe36..4061bb0f267de399ef8d05720a8c735712be8299 100644 (file)
@@ -50,8 +50,6 @@ static int __init pci_legacy_init(void)
        if (pci_root_bus)
                pci_bus_add_devices(pci_root_bus);
 
-       pcibios_fixup_peer_bridges();
-
        return 0;
 }
 
@@ -67,6 +65,7 @@ int __init pci_subsys_init(void)
        pci_visws_init();
 #endif
        pci_legacy_init();
+       pcibios_fixup_peer_bridges();
        pcibios_irq_init();
        pcibios_init();