aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dc/if_dcreg.h
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>2000-07-15 17:54:30 +0000
committerBill Paul <wpaul@FreeBSD.org>2000-07-15 17:54:30 +0000
commit79d11e096070584b434f9d6d804b4ca1259fe01a (patch)
tree91547b6f6724aeec138730067e5a19ee2fb2ac71 /sys/dev/dc/if_dcreg.h
parent38d3d2d67c41024aaa94f46f8f18a396e5223c7c (diff)
downloadsrc-79d11e096070584b434f9d6d804b4ca1259fe01a.tar.gz
src-79d11e096070584b434f9d6d804b4ca1259fe01a.zip
Apply patch to the dc driver to handle Macronix MX98715AEC-C/D/E chips,
which differ slightly from the Macronix MX98715AEC chip on the sample adapter that I have in that the multicast hash table is only 128 bits wide instead of 512. New adapters are popping up with this chip, and due to improper handling of the smaller hash table, broadcast packets were not being received correctly.
Notes
Notes: svn path=/head/; revision=63229
Diffstat (limited to 'sys/dev/dc/if_dcreg.h')
-rw-r--r--sys/dev/dc/if_dcreg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h
index 4f56a457befc..1e441d7ad30c 100644
--- a/sys/dev/dc/if_dcreg.h
+++ b/sys/dev/dc/if_dcreg.h
@@ -672,6 +672,8 @@ struct dc_softc {
#define DC_REDUCED_MII_POLL 0x00000200
#define DC_TX_INTR_ALWAYS 0x00000400
#define DC_21143_NWAY 0x00000800
+#define DC_128BIT_HASH 0x00001000
+#define DC_64BIT_HASH 0x00002000
/*
* register space access macros
@@ -714,6 +716,7 @@ struct dc_softc {
#define DC_REVISION_98713 0x00
#define DC_REVISION_98713A 0x10
#define DC_REVISION_98715 0x20
+#define DC_REVISION_98715AEC_C 0x25
#define DC_REVISION_98725 0x30
/*