summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2006-07-27 05:06:43 +0000
committeryongari <yongari@FreeBSD.org>2006-07-27 05:06:43 +0000
commit2c76a93a5ac9af537643e062ce32958bdb02d62d (patch)
tree5e3ed6e5435b570ca1d65509a02e75119027a0a0
parent59f55ad58cbfee06051d3fa7c2b36a7c6f64b1d0 (diff)
downloadFreeBSD-src-2c76a93a5ac9af537643e062ce32958bdb02d62d.zip
FreeBSD-src-2c76a93a5ac9af537643e062ce32958bdb02d62d.tar.gz
Add device ID for second generation D-Link DGE-530T.
PR: kern/99903
-rw-r--r--sys/dev/sk/if_sk.c10
-rw-r--r--sys/dev/sk/if_skreg.h3
2 files changed, 10 insertions, 3 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c
index f4c1b1c..22c50b8 100644
--- a/sys/dev/sk/if_sk.c
+++ b/sys/dev/sk/if_sk.c
@@ -193,7 +193,12 @@ static struct sk_type sk_devs[] = {
},
{
VENDORID_DLINK,
- DEVICEID_DLINK_DGE530T,
+ DEVICEID_DLINK_DGE530T_A1,
+ "D-Link DGE-530T Gigabit Ethernet"
+ },
+ {
+ VENDORID_DLINK,
+ DEVICEID_DLINK_DGE530T_B1,
"D-Link DGE-530T Gigabit Ethernet"
},
{ 0, 0, NULL }
@@ -1805,7 +1810,8 @@ skc_attach(dev)
case DEVICEID_BELKIN_5005:
case DEVICEID_3COM_3C940:
case DEVICEID_LINKSYS_EG1032:
- case DEVICEID_DLINK_DGE530T:
+ case DEVICEID_DLINK_DGE530T_A1:
+ case DEVICEID_DLINK_DGE530T_B1:
/* Stay with VPD PN. */
pname = sc->sk_vpd_prodname;
break;
diff --git a/sys/dev/sk/if_skreg.h b/sys/dev/sk/if_skreg.h
index 08462dc..a9fa27c 100644
--- a/sys/dev/sk/if_skreg.h
+++ b/sys/dev/sk/if_skreg.h
@@ -133,7 +133,8 @@
/*
* D-Link gigabit ethernet device ID
*/
-#define DEVICEID_DLINK_DGE530T 0x4c00
+#define DEVICEID_DLINK_DGE530T_A1 0x4c00
+#define DEVICEID_DLINK_DGE530T_B1 0x4b01
/*
* GEnesis registers. The GEnesis chip has a 256-byte I/O window
OpenPOWER on IntegriCloud