summaryrefslogtreecommitdiffstats
path: root/sys/dev/dc
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-05-12 19:50:21 +0000
committermbr <mbr@FreeBSD.org>2003-05-12 19:50:21 +0000
commit7547478850f17e32fc0856587c660a8b041cc972 (patch)
tree212be6964be0d2e91eb856bd1a93cf1e25b73228 /sys/dev/dc
parent4d1d8c7d9aa8dadf2329128616f7c09150e6829e (diff)
downloadFreeBSD-src-7547478850f17e32fc0856587c660a8b041cc972.zip
FreeBSD-src-7547478850f17e32fc0856587c660a8b041cc972.tar.gz
Add support for 3Com OfficeConnect 10/100B.
PR: 49059, 50747 Submitted by: Dax Eckenberg <daxbert@dweebsoft.com> Reviewed by: imp, jhb Approved by: jhb MFC after: 2 weeks
Diffstat (limited to 'sys/dev/dc')
-rw-r--r--sys/dev/dc/if_dc.c4
-rw-r--r--sys/dev/dc/if_dcreg.h10
2 files changed, 14 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 294f81b..c083bc4 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -46,6 +46,7 @@
* Xircom X3201 (www.xircom.com)
* Abocom FE2500
* Conexant LANfinity (www.conexant.com)
+ * 3Com OfficeConnect 10/100B 3CSOHO100B (www.3com.com)
*
* Datasheets for the 21143 are available at developer.intel.com.
* Datasheets for the clone parts can be found at their respective sites.
@@ -196,6 +197,8 @@ static struct dc_type dc_devs[] = {
"Hawking CB102 CardBus 10/100" },
{ DC_VENDORID_PLANEX, DC_DEVICEID_FNW3602T,
"PlaneX FNW-3602-T CardBus 10/100" },
+ { DC_VENDORID_3COM, DC_DEVICEID_3CSOHOB,
+ "3Com OfficeConnect 10/100B" },
{ 0, 0, NULL }
};
@@ -1987,6 +1990,7 @@ dc_attach(dev)
case DC_DEVICEID_FE2500:
case DC_DEVICEID_EN2242:
case DC_DEVICEID_HAWKING_PN672TX:
+ case DC_DEVICEID_3CSOHOB:
sc->dc_type = DC_TYPE_AN985;
sc->dc_flags |= DC_64BIT_HASH;
sc->dc_flags |= DC_TX_USE_TX_INTR;
diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h
index d4536c7..d15d68c 100644
--- a/sys/dev/dc/if_dcreg.h
+++ b/sys/dev/dc/if_dcreg.h
@@ -868,6 +868,16 @@ struct dc_softc {
#define DC_DEVICEID_AN985 0x0985
/*
+ * 3COM PCI vendor ID
+ */
+#define DC_VENDORID_3COM 0x10b7
+
+/*
+ * 3COM OfficeConnect 10/100B (3CSOHO100B-TX)
+ */
+#define DC_DEVICEID_3CSOHOB 0x9300
+
+/*
* ASIX vendor ID.
*/
#define DC_VENDORID_ASIX 0x125B
OpenPOWER on IntegriCloud