summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-07-20 02:49:19 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-07-20 02:49:19 +0000
commit337e61c6fa38d8c4cbcbc7c81729c7be5b8e1c0a (patch)
tree9ada886a4d83d728d04b3b767b4eef3b27d16586 /sys
parent7f18f2e6b260f44eefc8672b6f204a6217895da5 (diff)
update for the new ADMtek PCI ids.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_dc_pci.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c
index 27e04a67cde..246865ae353 100644
--- a/sys/dev/pci/if_dc_pci.c
+++ b/sys/dev/pci/if_dc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_pci.c,v 1.54 2006/07/18 23:56:47 brad Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.55 2006/07/20 02:49:18 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -92,9 +92,10 @@ struct dc_type dc_devs[] = {
{ PCI_VENDOR_DAVICOM, PCI_PRODUCT_DAVICOM_DM9009 },
{ PCI_VENDOR_DAVICOM, PCI_PRODUCT_DAVICOM_DM9100 },
{ PCI_VENDOR_DAVICOM, PCI_PRODUCT_DAVICOM_DM9102 },
+ { PCI_VENDOR_ADMTEK, PCI_PRODUCT_ADMTEK_ADM9511 },
+ { PCI_VENDOR_ADMTEK, PCI_PRODUCT_ADMTEK_ADM9513 },
{ PCI_VENDOR_ADMTEK, PCI_PRODUCT_ADMTEK_AL981 },
{ PCI_VENDOR_ADMTEK, PCI_PRODUCT_ADMTEK_AN983 },
- { PCI_VENDOR_ADMTEK, PCI_PRODUCT_ADMTEK_AN983B },
{ PCI_VENDOR_ASIX, PCI_PRODUCT_ASIX_AX88140A },
{ PCI_VENDOR_MACRONIX, PCI_PRODUCT_MACRONIX_MX98713 },
{ PCI_VENDOR_MACRONIX, PCI_PRODUCT_MACRONIX_MX98715 },
@@ -322,8 +323,9 @@ void dc_pci_attach(parent, self, aux)
sc->dc_pmode = DC_PMODE_MII;
dc_read_srom(sc, sc->dc_romwidth);
}
- if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ADMTEK_AN983 ||
- PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ADMTEK_AN983B ||
+ if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ADMTEK_ADM9511 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ADMTEK_ADM9513 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ADMTEK_AN983 ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_3COM_3CSHO100BTX ||
PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_MICROSOFT_MN130) {
found = 1;