summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_dcreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-01-19 19:03:08 +0000
committerwpaul <wpaul@FreeBSD.org>2000-01-19 19:03:08 +0000
commit28f55e3f8e60b6cedb005e86c571bd8dca4ccbc4 (patch)
tree262b774ba8db26f0ff85aca0c34bdc0936dd474d /sys/pci/if_dcreg.h
parent67fda16932a78ee2a95bda7c1407734b5b09ceff (diff)
downloadFreeBSD-src-28f55e3f8e60b6cedb005e86c571bd8dca4ccbc4.zip
FreeBSD-src-28f55e3f8e60b6cedb005e86c571bd8dca4ccbc4.tar.gz
Add support for the Davicom DM9102A 10/100 ethernet controller chip.
This is just to make sure we initialize the chip correctly: we need to make the sure the port select bit in CSR6 is set properly so that we use the internal PHY for 10/100 support. (The eval boards I have also include an external HomePNA PHY, but I need to play with that more before I can support it.)
Diffstat (limited to 'sys/pci/if_dcreg.h')
-rw-r--r--sys/pci/if_dcreg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h
index 804668b..e358c4d 100644
--- a/sys/pci/if_dcreg.h
+++ b/sys/pci/if_dcreg.h
@@ -755,6 +755,13 @@ struct dc_softc {
#define DC_DEVICEID_DM9102 0x9102
/*
+ * The DM9102A has the same PCI device ID as the DM9102,
+ * but a higher revision code.
+ */
+#define DC_REVISION_DM9102 0x10
+#define DC_REVISION_DM9102A 0x30
+
+/*
* ADMtek vendor ID.
*/
#define DC_VENDORID_ADMTEK 0x1317
OpenPOWER on IntegriCloud