X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fi386%2Fpci%2Finit.c;h=51087a9d91720153178dcdc876357101d2387cb8;hp=f9156d3ac7231c731703070cb8c2e49f33864de8;hb=9129d6ea475b7e9f216c8324ea05b7a0d8aba540;hpb=a3ea9b584ed2acdeae817f0dc91a5880e0828a05 diff --git a/arch/i386/pci/init.c b/arch/i386/pci/init.c index f9156d3ac723..51087a9d9172 100644 --- a/arch/i386/pci/init.c +++ b/arch/i386/pci/init.c @@ -1,4 +1,3 @@ -#include #include #include #include "pci.h" @@ -15,8 +14,12 @@ static __init int pci_access_init(void) #ifdef CONFIG_PCI_BIOS pci_pcbios_init(); #endif - if (raw_pci_ops) - return 0; + /* + * don't check for raw_pci_ops here because we want pcbios as last + * fallback, yet it's needed to run first to set pcibios_last_bus + * in case legacy PCI probing is used. otherwise detecting peer busses + * fails. + */ #ifdef CONFIG_PCI_DIRECT pci_direct_init(); #endif