Skip to contentSkip to conversation

x86/pci: make pci=lastbus=255 work when acpi is on

PATCH Applied Yinghai Lu 2 participants 2 messages Mar 25, 2009 – Mar 26, 2009

Subsystems (2)
lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

PATCH 1/1 x86/pci: make pci=lastbus=255 work when acpi is on

Impact: scan more peer root buses even acpi is used

move out pci_bios_fixup_peer_bridges of pci_legacy_init.
so pci_bios_fixup_peer_bridges could be called even pci_apci_init is called.

---
 arch/x86/pci/legacy.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/x86/pci/legacy.c +1 -2
Index: linux-2.6/arch/x86/pci/legacy.c
===================================================================
@@ -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();
 
Applied
#1 lore raw
Quoted 8 lines · On Wed, 25 Mar 2009 13:26:13 -0700 Yinghai Lu <[email protected]> wrote:

Impact: scan more peer root buses even acpi is used

move out pci_bios_fixup_peer_bridges of pci_legacy_init. so pci_bios_fixup_peer_bridges could be called even pci_apci_init is called.

Applied, thanks.

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center