summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-12-16 18:33:57 +0000
committerwpaul <wpaul@FreeBSD.org>1999-12-16 18:33:57 +0000
commitd1b926a88fd09019d13d7fd497545987eb434d74 (patch)
treeeca0bf2e894cd5168b5cfd6e2b329ef827c3c8ab /sys
parent985fda16e7b9a2ea19c0ce2acad334d015c8017f (diff)
downloadFreeBSD-src-d1b926a88fd09019d13d7fd497545987eb434d74.zip
FreeBSD-src-d1b926a88fd09019d13d7fd497545987eb434d74.tar.gz
Update the xl driver to recognize yet another 3c905B/3c905C class NIC:
the 3c450-TX HomeConnect. Like the 3cSOHO100-TX OfficeConnect, this NIC uses the same ASIC as the 3c905B/3c905C but is targeted for a particular market segment (home users). It is somewhat less expensive than the 3c905B/3c905C ($49, according to the 3Com web site), comes with its own custom driver kit and is bundled with various goofy Windows software packages designed to demonstrate the niftyness of home networking (networked game demos, etc...). Changes are: - Add PCI ID to list in if_xlreg.h. - Update xl_devs table in if_xl.c. - Update xl_choose_xcvr() to consider the HomeConnect the same as all the other 10baseT/100baseTX cards.
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/if_xl.c4
-rw-r--r--sys/pci/if_xlreg.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 56cf14b..4730185 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -54,6 +54,7 @@
* 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)
+ * 3Com 3c450-TX 10/100Mbps/RJ-45 (Tornado 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
@@ -186,6 +187,8 @@ static struct xl_type xl_devs[] = {
"3Com 3c980C Fast Etherlink XL" },
{ TC_VENDORID, TC_DEVICEID_HURRICANE_SOHO100TX,
"3Com 3cSOHO100-TX OfficeConnect" },
+ { TC_VENDORID, TC_DEVICEID_TORNADO_HOMECONNECT,
+ "3Com 3c450-TX HomeConnect" },
{ 0, 0, NULL }
};
@@ -1142,6 +1145,7 @@ static void xl_choose_xcvr(sc, verbose)
case TC_DEVICEID_TORNADO_10_100BT_SERV: /* 3c980C-TX */
case TC_DEVICEID_HURRICANE_SOHO100TX: /* 3cSOHO100-TX */
case TC_DEVICEID_TORNADO_10_100BT: /* 3c905C-TX */
+ case TC_DEVICEID_TORNADO_HOMECONNECT: /* 3c450-TX */
sc->xl_media = XL_MEDIAOPT_BTX;
sc->xl_xcvr = XL_XCVR_AUTO;
if (verbose)
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index 69948d2..dda2f0a 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -640,6 +640,7 @@ 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_TORNADO_HOMECONNECT 0x4500
/*
* PCI low memory base and low I/O base register, and
OpenPOWER on IntegriCloud