summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_dcreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-07-15 17:54:30 +0000
committerwpaul <wpaul@FreeBSD.org>2000-07-15 17:54:30 +0000
commita6eab227616d406c63fc686cef5971a1e47f29a0 (patch)
tree1752576450d09480161aabbce62c36c0ab94195c /sys/pci/if_dcreg.h
parentb45cd0c3e0421e00804202184c0af2c30fcc0b45 (diff)
downloadFreeBSD-src-a6eab227616d406c63fc686cef5971a1e47f29a0.zip
FreeBSD-src-a6eab227616d406c63fc686cef5971a1e47f29a0.tar.gz
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.
Diffstat (limited to 'sys/pci/if_dcreg.h')
-rw-r--r--sys/pci/if_dcreg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h
index 4f56a45..1e441d7 100644
--- a/sys/pci/if_dcreg.h
+++ b/sys/pci/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
/*
OpenPOWER on IntegriCloud