[PATCH] x86,pci: detect end_bus_number according to acpi/e820 reserved - fix
From: Yinghai Lu
Date: Sat Jul 19 2008 - 05:17:24 EST
Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>
diff --git a/arch/x86/pci/mmconfig-shared.c b/arch/x86/pci/mmconfig-shared.c
index 9297882..429c701 100644
--- a/arch/x86/pci/mmconfig-shared.c
+++ b/arch/x86/pci/mmconfig-shared.c
@@ -364,6 +364,7 @@ static void __init pci_mmcfg_reject_broken(int early)
cfg = &pci_mmcfg_config[i];
addr = cfg->start_bus_number;
addr <<= 20;
+ addr += cfg->address;
size = cfg->end_bus_number + 1 - cfg->start_bus_number;
size <<= 20;
printk(KERN_NOTICE "PCI: MCFG configuration %d: base %lx "
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/