diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-04-28 06:17:48 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-04-28 06:17:48 +0000 |
commit | 78f443e7ca5eec38047fe09b4c7e3ac0cf8132af (patch) | |
tree | 8f8771147ab11d666073545e9355aa6f0553e931 /sys/arch/amd64/pci | |
parent | e663e0eac106456cd9f7a7efd0134884ae0bc742 (diff) |
Sync PCI ids.
Diffstat (limited to 'sys/arch/amd64/pci')
-rw-r--r-- | sys/arch/amd64/pci/iommu.c | 4 | ||||
-rw-r--r-- | sys/arch/amd64/pci/pchb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/pci/iommu.c b/sys/arch/amd64/pci/iommu.c index 7ff85ca8384..6858d4203be 100644 --- a/sys/arch/amd64/pci/iommu.c +++ b/sys/arch/amd64/pci/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.21 2007/09/17 15:34:38 chl Exp $ */ +/* $OpenBSD: iommu.c,v 1.22 2008/04/28 06:17:47 brad Exp $ */ /* * Copyright (c) 2005 Jason L. Wright (jason@thought.net) @@ -233,7 +233,7 @@ amdgart_ok(pci_chipset_tag_t pc, pcitag_t tag) v = pci_conf_read(pc, tag, PCI_ID_REG); if (PCI_VENDOR(v) != PCI_VENDOR_AMD) return (0); - if (PCI_PRODUCT(v) != PCI_PRODUCT_AMD_AMD64_MISC) + if (PCI_PRODUCT(v) != PCI_PRODUCT_AMD_AMD64_0F_MISC) return (0); v = pci_conf_read(pc, tag, GART_APCTRL); diff --git a/sys/arch/amd64/pci/pchb.c b/sys/arch/amd64/pci/pchb.c index fbf08804e62..e8713c6a44d 100644 --- a/sys/arch/amd64/pci/pchb.c +++ b/sys/arch/amd64/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.20 2008/03/23 08:36:41 damien Exp $ */ +/* $OpenBSD: pchb.c,v 1.21 2008/04/28 06:17:47 brad Exp $ */ /* $NetBSD: pchb.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */ /* * Copyright (c) 2000 Michael Shalayeff @@ -155,7 +155,7 @@ pchbattach(struct device *parent, struct device *self, void *aux) case PCI_VENDOR_AMD: printf("\n"); switch (PCI_PRODUCT(pa->pa_id)) { - case PCI_PRODUCT_AMD_AMD64_HT: + case PCI_PRODUCT_AMD_AMD64_0F_HT: for (i = 0; i < AMD64HT_NUM_LDT; i++) pchb_amd64ht_attach(self, pa, i); break; |