summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-09-15 07:19:34 +0000
committerwpaul <wpaul@FreeBSD.org>1999-09-15 07:19:34 +0000
commit1effe74301e24bbe36b608d62acd07107ac7e397 (patch)
treee55b7b12004b8e3ed1b2b0396743b0dfdb23a8cb /sys
parent5c1a3647e5e952726219b96156a3eebfa5789118 (diff)
downloadFreeBSD-src-1effe74301e24bbe36b608d62acd07107ac7e397.zip
FreeBSD-src-1effe74301e24bbe36b608d62acd07107ac7e397.tar.gz
3Com has produced their own Linux driver for the 3c90x/3c90xB series cards.
It's GPL'ed of course, but looking over it tonight I learned of Yet Another Fast EtherLink XL Adapter: the 3c980C server adapter. This is basically an updated version of the 3c980 that uses the Tornado ASIC instead of the earlier Hurricane ASIC. The only change here is to add the new PCI device ID (0x9805) and corresponding table entries.
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/if_xl.c11
-rw-r--r--sys/pci/if_xlreg.h1
2 files changed, 9 insertions, 3 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index a98143a..f4dee5d 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -50,10 +50,12 @@
* 3Com 3c905B-COMBO 10/100Mbps/RJ-45,AUI,BNC
* 3Com 3c905B-TX 10/100Mbps/RJ-45
* 3Com 3c905B-FL/FX 10/100Mbps/Fiber-optic
- * 3Com 3c905C-TX 10/100Mbps/RJ-45
- * 3Com 3c980-TX 10/100Mbps server adapter
- * 3Com 3cSOHO100-TX 10/100Mbps/RJ-45
+ * 3Com 3c905C-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 3cSOHO100-TX 10/100Mbps/RJ-45 (Hurricane ASIC)
* Dell Optiplex GX1 on-board 3c918 10/100Mbps/RJ-45
+ * Dell on-board 3c920 10/100Mbps/RJ-45
* Dell Precision on-board 3c905B 10/100Mbps/RJ-45
* Dell Latitude laptop docking station embedded 3c905-TX
*
@@ -184,6 +186,8 @@ static struct xl_type xl_devs[] = {
"3Com 3c905C-TX Fast Etherlink XL" },
{ TC_VENDORID, TC_DEVICEID_HURRICANE_10_100BT_SERV,
"3Com 3c980 Fast Etherlink XL" },
+ { TC_VENDORID, TC_DEVICEID_TORNATO_10_100BT_SERV,
+ "3Com 3c980C Fast Etherlink XL" },
{ TC_VENDORID, TC_DEVICEID_HURRICANE_SOHO100TX,
"3Com 3cSOHO100-TX OfficeConnect" },
{ 0, 0, NULL }
@@ -1114,6 +1118,7 @@ static void xl_mediacheck(sc)
break;
case TC_DEVICEID_HURRICANE_10_100BT: /* 3c905B-TX */
case TC_DEVICEID_HURRICANE_10_100BT_SERV:/*3c980-TX */
+ case TC_DEVICEID_TORNADO_10_100BT_SERV: /* 3c980C-TX */
case TC_DEVICEID_HURRICANE_SOHO100TX: /* 3cSOHO100-TX */
case TC_DEVICEID_TORNADO_10_100BT: /* 3c905C-TX */
sc->xl_media = XL_MEDIAOPT_BTX;
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index 3bdf32d..9497e39 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -622,6 +622,7 @@ struct xl_stats {
#define TC_DEVICEID_CYCLONE_10_100FX 0x905A
#define TC_DEVICEID_TORNADO_10_100BT 0x9200
#define TC_DEVICEID_HURRICANE_10_100BT_SERV 0x9800
+#define TC_DEVICEID_TORNADO_10_100BT_SERV 0x9805
#define TC_DEVICEID_HURRICANE_SOHO100TX 0x7646
/*
OpenPOWER on IntegriCloud