From: Joachim Deguara Date: Wed, 30 Jan 2008 12:34:12 +0000 (+0100) Subject: x86: add PCI IDs to k8topology_64.c X-Git-Tag: v2.6.25-rc1~1143^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bb4a1d644a84e7e9d1d1fa9d1c7d1017b02e0947;p=linux-2.6-omap-h63xx.git x86: add PCI IDs to k8topology_64.c This just adds the PCI IDs of AMD's family 10h and 11h CPU's northbridges to k8topology discovery. Signed-off-by: Joachim Deguara Signed-off-by: Andi Kleen Acked-by: Yinghai Lu Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/mm/k8topology_64.c b/arch/x86/mm/k8topology_64.c index 32b963de9b8..7a2ebce87df 100644 --- a/arch/x86/mm/k8topology_64.c +++ b/arch/x86/mm/k8topology_64.c @@ -28,11 +28,15 @@ static __init int find_northbridge(void) u32 header; header = read_pci_config(0, num, 0, 0x00); - if (header != (PCI_VENDOR_ID_AMD | (0x1100<<16))) + if (header != (PCI_VENDOR_ID_AMD | (0x1100<<16)) && + header != (PCI_VENDOR_ID_AMD | (0x1200<<16)) && + header != (PCI_VENDOR_ID_AMD | (0x1300<<16))) continue; header = read_pci_config(0, num, 1, 0x00); - if (header != (PCI_VENDOR_ID_AMD | (0x1101<<16))) + if (header != (PCI_VENDOR_ID_AMD | (0x1101<<16)) && + header != (PCI_VENDOR_ID_AMD | (0x1201<<16)) && + header != (PCI_VENDOR_ID_AMD | (0x1301<<16))) continue; return num; }