diff options
-rw-r--r-- | arch/i386/pci/mmconfig.c | 7 | ||||
-rw-r--r-- | arch/x86_64/pci/mmconfig.c | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/i386/pci/mmconfig.c b/arch/i386/pci/mmconfig.c index 60f0e7a1162a..dfbf80cff834 100644 --- a/arch/i386/pci/mmconfig.c +++ b/arch/i386/pci/mmconfig.c | |||
@@ -127,13 +127,6 @@ static int __init pci_mmcfg_init(void) | |||
127 | (pci_mmcfg_config[0].base_address == 0)) | 127 | (pci_mmcfg_config[0].base_address == 0)) |
128 | goto out; | 128 | goto out; |
129 | 129 | ||
130 | /* Kludge for now. Don't use mmconfig on AMD systems because | ||
131 | those have some busses where mmconfig doesn't work, | ||
132 | and we don't parse ACPI MCFG well enough to handle that. | ||
133 | Remove when proper handling is added. */ | ||
134 | if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) | ||
135 | goto out; | ||
136 | |||
137 | printk(KERN_INFO "PCI: Using MMCONFIG\n"); | 130 | printk(KERN_INFO "PCI: Using MMCONFIG\n"); |
138 | raw_pci_ops = &pci_mmcfg; | 131 | raw_pci_ops = &pci_mmcfg; |
139 | pci_probe = (pci_probe & ~PCI_PROBE_MASK) | PCI_PROBE_MMCONF; | 132 | pci_probe = (pci_probe & ~PCI_PROBE_MASK) | PCI_PROBE_MMCONF; |
diff --git a/arch/x86_64/pci/mmconfig.c b/arch/x86_64/pci/mmconfig.c index 657e88aa0902..a0838c4a94e4 100644 --- a/arch/x86_64/pci/mmconfig.c +++ b/arch/x86_64/pci/mmconfig.c | |||
@@ -111,13 +111,6 @@ static int __init pci_mmcfg_init(void) | |||
111 | (pci_mmcfg_config[0].base_address == 0)) | 111 | (pci_mmcfg_config[0].base_address == 0)) |
112 | return 0; | 112 | return 0; |
113 | 113 | ||
114 | /* Kludge for now. Don't use mmconfig on AMD systems because | ||
115 | those have some busses where mmconfig doesn't work, | ||
116 | and we don't parse ACPI MCFG well enough to handle that. | ||
117 | Remove when proper handling is added. */ | ||
118 | if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) | ||
119 | return 0; | ||
120 | |||
121 | /* RED-PEN i386 doesn't do _nocache right now */ | 114 | /* RED-PEN i386 doesn't do _nocache right now */ |
122 | pci_mmcfg_virt = kmalloc(sizeof(*pci_mmcfg_virt) * pci_mmcfg_config_num, GFP_KERNEL); | 115 | pci_mmcfg_virt = kmalloc(sizeof(*pci_mmcfg_virt) * pci_mmcfg_config_num, GFP_KERNEL); |
123 | if (pci_mmcfg_virt == NULL) { | 116 | if (pci_mmcfg_virt == NULL) { |