x86 PCI: call dmi_check_pciprobe()
[safe/jmp/linux-2.6] / arch / x86 / pci / mmconfig-shared.c
index bdf6224..0cfebec 100644 (file)
@@ -107,6 +107,9 @@ static const char __init *pci_mmcfg_amd_fam10h(void)
        int i;
        unsigned segnbits = 0, busnbits;
 
+       if (!(pci_probe & PCI_CHECK_ENABLE_AMD_MMCONF))
+               return NULL;
+
        address = MSR_FAM10H_MMIO_CONF_BASE;
        if (rdmsr_safe(address, &low, &high))
                return NULL;