summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-06-11 11:54:52 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-06-11 11:54:52 +0000
commit9ca710f699453520812f337300bace884ef5d999 (patch)
treed4320af19861e5367e2fb772e0d381870de43f68
parent0477138dad98ba83e9e8e7ffc49a35f4649a4107 (diff)
Notes
-rw-r--r--sys/dev/dc/if_dc.c4
-rw-r--r--sys/dev/dc/if_dcreg.h10
-rw-r--r--sys/pci/if_dc.c4
-rw-r--r--sys/pci/if_dcreg.h10
4 files changed, 28 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index af00514f0845..dcb6ee9b1c0b 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -44,6 +44,7 @@
* ADMtek AL981 (www.admtek.com.tw)
* ADMtek AN985 (www.admtek.com.tw)
* Davicom DM9100, DM9102, DM9102A (www.davicom8.com)
+ * Accton EN1217 (www.accton.com)
*
* Datasheets for the 21143 are available at developer.intel.com.
* Datasheets for the clone parts can be found at their respective sites.
@@ -190,6 +191,8 @@ static struct dc_type dc_devs[] = {
"82c168 PNIC 10/100BaseTX" },
{ DC_VENDORID_LO, DC_DEVICEID_82C168,
"82c169 PNIC 10/100BaseTX" },
+ { DC_VENDORID_ACCTON, DC_DEVICEID_EN1217,
+ "Accton EN1217 10/100BaseTX" },
{ 0, 0, NULL }
};
@@ -1548,6 +1551,7 @@ static int dc_attach(dev)
sc->dc_flags |= DC_TX_POLL|DC_TX_USE_TX_INTR;
break;
case DC_DEVICEID_987x5:
+ case DC_DEVICEID_EN1217:
sc->dc_type = DC_TYPE_987x5;
sc->dc_flags |= DC_TX_POLL|DC_TX_USE_TX_INTR;
sc->dc_flags |= DC_REDUCED_MII_POLL|DC_21143_NWAY;
diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h
index 486a2e212586..4f56a457befc 100644
--- a/sys/dev/dc/if_dcreg.h
+++ b/sys/dev/dc/if_dcreg.h
@@ -794,6 +794,16 @@ struct dc_softc {
#define DC_REVISION_88141 0x10
/*
+ * Accton vendor ID.
+ */
+#define DC_VENDORID_ACCTON 0x1113
+
+/*
+ * Accton device IDs.
+ */
+#define DC_DEVICEID_EN1217 0x1217
+
+/*
* PCI low memory base and low I/O base register, and
* other PCI registers.
*/
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index af00514f0845..dcb6ee9b1c0b 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -44,6 +44,7 @@
* ADMtek AL981 (www.admtek.com.tw)
* ADMtek AN985 (www.admtek.com.tw)
* Davicom DM9100, DM9102, DM9102A (www.davicom8.com)
+ * Accton EN1217 (www.accton.com)
*
* Datasheets for the 21143 are available at developer.intel.com.
* Datasheets for the clone parts can be found at their respective sites.
@@ -190,6 +191,8 @@ static struct dc_type dc_devs[] = {
"82c168 PNIC 10/100BaseTX" },
{ DC_VENDORID_LO, DC_DEVICEID_82C168,
"82c169 PNIC 10/100BaseTX" },
+ { DC_VENDORID_ACCTON, DC_DEVICEID_EN1217,
+ "Accton EN1217 10/100BaseTX" },
{ 0, 0, NULL }
};
@@ -1548,6 +1551,7 @@ static int dc_attach(dev)
sc->dc_flags |= DC_TX_POLL|DC_TX_USE_TX_INTR;
break;
case DC_DEVICEID_987x5:
+ case DC_DEVICEID_EN1217:
sc->dc_type = DC_TYPE_987x5;
sc->dc_flags |= DC_TX_POLL|DC_TX_USE_TX_INTR;
sc->dc_flags |= DC_REDUCED_MII_POLL|DC_21143_NWAY;
diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h
index 486a2e212586..4f56a457befc 100644
--- a/sys/pci/if_dcreg.h
+++ b/sys/pci/if_dcreg.h
@@ -794,6 +794,16 @@ struct dc_softc {
#define DC_REVISION_88141 0x10
/*
+ * Accton vendor ID.
+ */
+#define DC_VENDORID_ACCTON 0x1113
+
+/*
+ * Accton device IDs.
+ */
+#define DC_DEVICEID_EN1217 0x1217
+
+/*
* PCI low memory base and low I/O base register, and
* other PCI registers.
*/