aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/pci/mmconfig-shared.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/pci/mmconfig-shared.c b/arch/x86/pci/mmconfig-shared.c
index 8707e24e625e..6f68658b519d 100644
--- a/arch/x86/pci/mmconfig-shared.c
+++ b/arch/x86/pci/mmconfig-shared.c
@@ -316,18 +316,6 @@ static void __init pci_mmcfg_reject_broken(int type, int early)
316 316
317 cfg = &pci_mmcfg_config[0]; 317 cfg = &pci_mmcfg_config[0];
318 318
319 /*
320 * Handle more broken MCFG tables on Asus etc.
321 * They only contain a single entry for bus 0-0.
322 */
323 if (pci_mmcfg_config_num == 1 &&
324 cfg->pci_segment == 0 &&
325 (cfg->start_bus_number | cfg->end_bus_number) == 0) {
326 printk(KERN_ERR "PCI: start and end of bus number is 0. "
327 "Rejected as broken MCFG.\n");
328 goto reject;
329 }
330
331 for (i = 0; i < pci_mmcfg_config_num; i++) { 319 for (i = 0; i < pci_mmcfg_config_num; i++) {
332 int valid = 0; 320 int valid = 0;
333 u32 size = (cfg->end_bus_number + 1) << 20; 321 u32 size = (cfg->end_bus_number + 1) << 20;