aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dc
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-03-16 20:00:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-03-16 20:00:39 +0000
commit9be0993cdbe82d6e6b61eb5f8bde6bace53e3223 (patch)
treefeb894e280db421a69a4278bcdb758bfc8f3746c /sys/dev/dc
parent35929e60136107c8467bd04e49c4e8fc3422fa2e (diff)
downloadsrc-9be0993cdbe82d6e6b61eb5f8bde6bace53e3223.tar.gz
src-9be0993cdbe82d6e6b61eb5f8bde6bace53e3223.zip
Add device-id for the Neteasy DRP-32TXD cardbus 10/100 card. It's another
ADMTek AN985 clone. MFC after: 3 days Tested by: Lila liladude at aruba dot it
Notes
Notes: svn path=/head/; revision=156785
Diffstat (limited to 'sys/dev/dc')
-rw-r--r--sys/dev/dc/if_dc.c3
-rw-r--r--sys/dev/dc/if_dcreg.h10
2 files changed, 13 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 7669383a9b7e..1d781bd55d62 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -205,6 +205,8 @@ static struct dc_type dc_devs[] = {
"Accton EN2242 MiniPCI 10/100BaseTX" },
{ DC_VENDORID_XIRCOM, DC_DEVICEID_X3201,
"Xircom X3201 10/100BaseTX" },
+ { DC_VENDORID_DLINK, DC_DEVICEID_DRP32TXD,
+ "Neteasy DRP-32TXD Cardbus 10/100" },
{ DC_VENDORID_ABOCOM, DC_DEVICEID_FE2500,
"Abocom FE2500 10/100BaseTX" },
{ DC_VENDORID_ABOCOM, DC_DEVICEID_FE2500MX,
@@ -1921,6 +1923,7 @@ dc_attach(device_t dev)
case DC_DEVICEID_AN985:
case DC_DEVICEID_ADM9511:
case DC_DEVICEID_ADM9513:
+ case DC_DEVICEID_DRP32TXD:
case DC_DEVICEID_FA511:
case DC_DEVICEID_FE2500:
case DC_DEVICEID_EN2242:
diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h
index ecf9962fcf55..9fd1e4f08e06 100644
--- a/sys/dev/dc/if_dcreg.h
+++ b/sys/dev/dc/if_dcreg.h
@@ -940,6 +940,16 @@ struct dc_softc {
#define DC_DEVICEID_X3201 0x0003
/*
+ * D-Link vendor ID
+ */
+#define DC_VENDORID_DLINK 0x1186
+
+/*
+ * D-Link device IDs.
+ */
+#define DC_DEVICEID_DRP32TXD 0x1561
+
+/*
* Abocom vendor ID
*/
#define DC_VENDORID_ABOCOM 0x13d1