diff --git a/share/man/man4/dc.4 b/share/man/man4/dc.4 index 5f376dec4492..903877d03612 100644 --- a/share/man/man4/dc.4 +++ b/share/man/man4/dc.4 @@ -143,6 +143,8 @@ Alfa Inc GFC2204 (ASIX AX88140A) CNet Pro110B (ASIX AX88140A) .It LinkSys LNE100TX v4.0/4.1 (ADMtek AN985 Centaur-P) +.It +3Com OfficeConnect 10/100B (ADMtek AN985 Centaur-P) .El .Pp The diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 294f81b0c991..c083bc40a423 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 d4536c7f4c05..d15d68cb3c66 100644 --- a/sys/dev/dc/if_dcreg.h +++ b/sys/dev/dc/if_dcreg.h @@ -867,6 +867,16 @@ struct dc_softc { #define DC_DEVICEID_AL981 0x0981 #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. */ diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c index 294f81b0c991..c083bc40a423 100644 --- a/sys/pci/if_dc.c +++ b/sys/pci/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/pci/if_dcreg.h b/sys/pci/if_dcreg.h index d4536c7f4c05..d15d68cb3c66 100644 --- a/sys/pci/if_dcreg.h +++ b/sys/pci/if_dcreg.h @@ -867,6 +867,16 @@ struct dc_softc { #define DC_DEVICEID_AL981 0x0981 #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. */