summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-04-18 14:32:50 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-04-18 14:32:50 +0000
commit9dfc0734524ed33ae99f257789e994b93bb775cf (patch)
treef578897962a2f86989378dcce0c7424cc26a28c5 /sys/dev
parentc7e284fe5837f7625c9887bc6c404024000006ad (diff)
Set MII parameters for the other 3Com CardBus cards, not just 'C' revision.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/xl.c6
-rw-r--r--sys/dev/ic/xlreg.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c
index 5ea3fa6a541..b9dbb71882a 100644
--- a/sys/dev/ic/xl.c
+++ b/sys/dev/ic/xl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xl.c,v 1.1 2000/04/08 05:50:50 aaron Exp $ */
+/* $OpenBSD: xl.c,v 1.2 2000/04/18 14:32:49 aaron Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -56,6 +56,8 @@
* 3Com 3c450-TX 10/100Mbps/RJ-45 (Tornado ASIC)
* 3Com 3c980-TX 10/100Mbps server adapter (Hurricane ASIC)
* 3Com 3c980C-TX 10/100Mbps server adapter (Tornado ASIC)
+ * 3Com 3C575TX 10/100Mbps LAN CardBus PC Card
+ * 3Com 3C575BTX 10/100Mbps LAN CardBus PC Card
* 3Com 3CCFE575CT 10/100Mbps LAN CardBus PC Card
* 3Com 3cSOHO100-TX 10/100Mbps/RJ-45 (Hurricane ASIC)
* Dell Optiplex GX1 on-board 3c918 10/100Mbps/RJ-45
@@ -980,6 +982,8 @@ void xl_choose_xcvr(sc, verbose)
printf("xl%d: guessing 10/100 plus BNC/AUI\n",
sc->xl_unit);
break;
+ case TC_DEVICEID_3CCFE575_CARDBUS:
+ case TC_DEVICEID_3CCFE575BT_CARDBUS:
case TC_DEVICEID_3CCFE575CT_CARDBUS:
sc->xl_media = XL_MEDIAOPT_MII;
sc->xl_xcvr = XL_XCVR_MII;
diff --git a/sys/dev/ic/xlreg.h b/sys/dev/ic/xlreg.h
index 2024d97788e..e14e5913d63 100644
--- a/sys/dev/ic/xlreg.h
+++ b/sys/dev/ic/xlreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: xlreg.h,v 1.1 2000/04/08 05:50:50 aaron Exp $ */
+/* $OpenBSD: xlreg.h,v 1.2 2000/04/18 14:32:49 aaron Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -650,6 +650,8 @@ struct xl_stats {
#define TC_DEVICEID_HURRICANE_10_100BT_SERV 0x9800
#define TC_DEVICEID_TORNADO_10_100BT_SERV 0x9805
#define TC_DEVICEID_HURRICANE_SOHO100TX 0x7646
+#define TC_DEVICEID_3CCFE575_CARDBUS 0x5057
+#define TC_DEVICEID_3CCFE575BT_CARDBUS 0x5157
#define TC_DEVICEID_3CCFE575CT_CARDBUS 0x5257
/*