summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/k8.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-09-02 13:13:40 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-05 19:11:44 +0200
commitcf169702ba6928cee9d4f4adf3e932b643b8db7a (patch)
treed496cb54e90b6e97a7894b9040c30a36228bbdb5 /arch/x86/kernel/k8.c
parentca1af29a733629b9158a4a32a927d16ff9009a95 (diff)
downloadlinux-cf169702ba6928cee9d4f4adf3e932b643b8db7a.tar.gz
linux-cf169702ba6928cee9d4f4adf3e932b643b8db7a.tar.bz2
linux-cf169702ba6928cee9d4f4adf3e932b643b8db7a.zip
x86, gart: add detection of AMD family 0x11 northbridges
This patch adds the detection of the northbridges in the AMD family 0x11 processors. It also fixes the magic numbers there while changing this code. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/k8.c')
-rw-r--r--arch/x86/kernel/k8.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kernel/k8.c b/arch/x86/kernel/k8.c
index 7377ccb21335..304d8bad6559 100644
--- a/arch/x86/kernel/k8.c
+++ b/arch/x86/kernel/k8.c
@@ -16,8 +16,9 @@ EXPORT_SYMBOL(num_k8_northbridges);
static u32 *flush_words;
struct pci_device_id k8_nb_ids[] = {
- { PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x1103) },
- { PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x1203) },
+ { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_K8_NB_MISC) },
+ { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_10H_NB_MISC) },
+ { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_11H_NB_MISC) },
{}
};
EXPORT_SYMBOL(k8_nb_ids);