summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-12-22 02:32:49 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-12-22 02:32:49 +0000
commit5b89a7115bd3714bafb0dccae0ac9c36916a020e (patch)
treeab25006765caa2afa8db99cd486548767f852644
parent14ad4b7b151c9caed010c77e0361a50c6c85c517 (diff)
Support for SMC 8036TX 10/100 cardbus NICs; diffs provided by
Chris Riley <chris@riles.ra>.
-rw-r--r--sys/dev/cardbus/if_dc_cardbus.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/cardbus/if_dc_cardbus.c b/sys/dev/cardbus/if_dc_cardbus.c
index 4b8c7119cdc..3aa5d94154f 100644
--- a/sys/dev/cardbus/if_dc_cardbus.c
+++ b/sys/dev/cardbus/if_dc_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_cardbus.c,v 1.7 2001/12/06 05:42:12 jason Exp $ */
+/* $OpenBSD: if_dc_cardbus.c,v 1.8 2001/12/22 02:32:48 fgsch Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
@@ -70,6 +70,7 @@ struct dc_type dc_cardbus_devs[] = {
{ PCI_VENDOR_DEC, PCI_PRODUCT_DEC_21142 },
{ PCI_VENDOR_XIRCOM, PCI_PRODUCT_XIRCOM_X3201_3_21143 },
{ PCI_VENDOR_ADMTEK, PCI_PRODUCT_ADMTEK_AN985 },
+ { PCI_VENDOR_ACCTON, PCI_PRODUCT_ACCTON_EN2242 },
{ CARDBUS_VENDOR_ABOCOM, CARDBUS_PRODUCT_ABOCOM_FE2500 },
{ CARDBUS_VENDOR_ABOCOM, CARDBUS_PRODUCT_ABOCOM_PCM200 },
{ 0 }
@@ -157,8 +158,10 @@ dc_cardbus_attach(parent, self, aux)
}
break;
case PCI_VENDOR_ADMTEK:
+ case PCI_VENDOR_ACCTON:
case CARDBUS_VENDOR_ABOCOM:
if (PCI_PRODUCT(ca->ca_id) == PCI_PRODUCT_ADMTEK_AN985 ||
+ PCI_PRODUCT(ca->ca_id) == PCI_PRODUCT_ACCTON_EN2242 ||
PCI_PRODUCT(ca->ca_id) == CARDBUS_PRODUCT_ABOCOM_FE2500 ||
PCI_PRODUCT(ca->ca_id) == CARDBUS_PRODUCT_ABOCOM_PCM200) {
sc->dc_type = DC_TYPE_AN983;