aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJoachim Deguara <joachim.deguara@amd.com>2008-01-30 07:34:12 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:34:12 -0500
commitbb4a1d644a84e7e9d1d1fa9d1c7d1017b02e0947 (patch)
treeb4edb770e21ae8459474836e6e2e14fb99e057af /arch/x86
parentf6df72e71eba621b2f5c49b3a763116fac748f6e (diff)
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 <joachim.deguara@amd.com> Signed-off-by: Andi Kleen <ak@suse.de> Acked-by: Yinghai Lu <yinghai.lu@sun.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mm/k8topology_64.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/mm/k8topology_64.c b/arch/x86/mm/k8topology_64.c
index 32b963de9b8f..7a2ebce87df5 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)
28 u32 header; 28 u32 header;
29 29
30 header = read_pci_config(0, num, 0, 0x00); 30 header = read_pci_config(0, num, 0, 0x00);
31 if (header != (PCI_VENDOR_ID_AMD | (0x1100<<16))) 31 if (header != (PCI_VENDOR_ID_AMD | (0x1100<<16)) &&
32 header != (PCI_VENDOR_ID_AMD | (0x1200<<16)) &&
33 header != (PCI_VENDOR_ID_AMD | (0x1300<<16)))
32 continue; 34 continue;
33 35
34 header = read_pci_config(0, num, 1, 0x00); 36 header = read_pci_config(0, num, 1, 0x00);
35 if (header != (PCI_VENDOR_ID_AMD | (0x1101<<16))) 37 if (header != (PCI_VENDOR_ID_AMD | (0x1101<<16)) &&
38 header != (PCI_VENDOR_ID_AMD | (0x1201<<16)) &&
39 header != (PCI_VENDOR_ID_AMD | (0x1301<<16)))
36 continue; 40 continue;
37 return num; 41 return num;
38 } 42 }