summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-07-17 19:27:41 +0000
committerwpaul <wpaul@FreeBSD.org>2000-07-17 19:27:41 +0000
commitd6d5b813b388813775144cf37b0d3f1f1f8de159 (patch)
tree992ece72aa2e60d3dd5bff13a880c690c3134a08 /sys/dev
parent9a9e278fc0d55a17b4dc14bfa68a11af9a5d8558 (diff)
downloadFreeBSD-src-d6d5b813b388813775144cf37b0d3f1f1f8de159.zip
FreeBSD-src-d6d5b813b388813775144cf37b0d3f1f1f8de159.tar.gz
Add the PCI IDs for the Macronix 98727 and 98732 parts. These are
3.3volt PCI/cardbus chipsets similar to the 98715 (and they have 512-bit hash tables). Also update the man page to mention the 98727/98732 and the SOHOware SFA110A Rev B4 card with the 98715AEC-C chip.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/dc/if_dc.c9
-rw-r--r--sys/dev/dc/if_dcreg.h2
2 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 92da26b..1d4c6de 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -36,7 +36,7 @@
* DEC "tulip" clone ethernet driver. Supports the DEC/Intel 21143
* series chips and several workalikes including the following:
*
- * Macronix 98713/98715/98725 PMAC (www.macronix.com)
+ * Macronix 98713/98715/98725/98727/98732 PMAC (www.macronix.com)
* Macronix/Lite-On 82c115 PNIC II (www.macronix.com)
* Lite-On 82c168/82c169 PNIC (www.litecom.com)
* ASIX Electronics AX88140A (www.asix.com.tw)
@@ -187,6 +187,8 @@ static struct dc_type dc_devs[] = {
"Macronix 98715AEC-C 10/100BaseTX" },
{ DC_VENDORID_MX, DC_DEVICEID_987x5,
"Macronix 98725 10/100BaseTX" },
+ { DC_VENDORID_MX, DC_DEVICEID_98727,
+ "Macronix 98727/98732 10/100BaseTX" },
{ DC_VENDORID_LO, DC_DEVICEID_82C115,
"LC82C115 PNIC II 10/100BaseTX" },
{ DC_VENDORID_LO, DC_DEVICEID_82C168,
@@ -1579,6 +1581,11 @@ static int dc_attach(dev)
sc->dc_flags |= DC_TX_POLL|DC_TX_USE_TX_INTR;
sc->dc_flags |= DC_REDUCED_MII_POLL|DC_21143_NWAY;
break;
+ case DC_DEVICEID_98727:
+ 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;
+ break;
case DC_DEVICEID_82C115:
sc->dc_type = DC_TYPE_PNICII;
sc->dc_flags |= DC_TX_POLL|DC_TX_USE_TX_INTR|DC_128BIT_HASH;
diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h
index 1e441d7..b9c3868 100644
--- a/sys/dev/dc/if_dcreg.h
+++ b/sys/dev/dc/if_dcreg.h
@@ -711,6 +711,8 @@ struct dc_softc {
*/
#define DC_DEVICEID_98713 0x0512
#define DC_DEVICEID_987x5 0x0531
+#define DC_DEVICEID_98727 0x0532
+#define DC_DEVICEID_98732 0x0532
/* Macronix PCI revision codes. */
#define DC_REVISION_98713 0x00
OpenPOWER on IntegriCloud