LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86: remove unneeded check in mmconf reject
@ 2008-02-21 6:21 Yinghai Lu
0 siblings, 0 replies; only message in thread
From: Yinghai Lu @ 2008-02-21 6:21 UTC (permalink / raw)
To: Ingo Molnar, Greg KH, Linux Kernel Mailing List; +Cc: Andrew Morton
mmconfig is only used to access ext conf 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>
Index: linux-2.6/arch/x86/pci/mmconfig-shared.c
===================================================================
--- linux-2.6.orig/arch/x86/pci/mmconfig-shared.c
+++ linux-2.6/arch/x86/pci/mmconfig-shared.c
@@ -308,18 +308,6 @@ static void __init pci_mmcfg_reject_brok
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-21 6:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-21 6:21 [PATCH] x86: remove unneeded check in mmconf reject Yinghai Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).