aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinghai Lu <Yinghai.Lu@Sun.COM>2008-02-20 22:21:57 -0800
committerIngo Molnar <mingo@elte.hu>2008-04-26 23:41:04 +0200
commitd2ebdf4bae4f1d7c30e71fd74f270ca4cda024fc (patch)
treeb1598f0ff38ff23e0f31b719a2f8795092d92c22
parent0d358f22f6c8f03ab215eee8d52b74f78cc3c7db (diff)
x86: remove unneeded check in mmconf reject
mmconfig is only used to access extended configuration space. so don't need to reject MFG that only have one entry and only handle bus0. Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-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 8707e24e625..6f68658b519 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)
cfg = &pci_mmcfg_config[0];
- /*
- * Handle more broken MCFG tables on Asus etc.
- * They only contain a single entry for bus 0-0.
- */
- if (pci_mmcfg_config_num == 1 &&
- cfg->pci_segment == 0 &&
- (cfg->start_bus_number | cfg->end_bus_number) == 0) {
- printk(KERN_ERR "PCI: start and end of bus number is 0. "
- "Rejected as broken MCFG.\n");
- goto reject;
- }
-
for (i = 0; i < pci_mmcfg_config_num; i++) {
int valid = 0;
u32 size = (cfg->end_bus_number + 1) << 20;