summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_stereg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-08-23 18:22:55 +0000
committerwpaul <wpaul@FreeBSD.org>2001-08-23 18:22:55 +0000
commit0e50207f125544764aaeac812af46880ac4b2e8a (patch)
treeae4bacec8ec8d05f0a304c5d3385ed31d6dd16c3 /sys/pci/if_stereg.h
parent6e290545e10033972d1b507051ff8c36224baa45 (diff)
downloadFreeBSD-src-0e50207f125544764aaeac812af46880ac4b2e8a.zip
FreeBSD-src-0e50207f125544764aaeac812af46880ac4b2e8a.tar.gz
Fix a bug in the ste_setmulti() routine. The NIC has 4 16-bit multicast
hash registers, not 2 32-bit ones. This would prevent the multicasr filter from being programmed correctly in some cases.
Diffstat (limited to 'sys/pci/if_stereg.h')
-rw-r--r--sys/pci/if_stereg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pci/if_stereg.h b/sys/pci/if_stereg.h
index 6081ec0..b369d6d 100644
--- a/sys/pci/if_stereg.h
+++ b/sys/pci/if_stereg.h
@@ -88,7 +88,9 @@
#define STE_TX_RECLAIM_THRESH 0x5D
#define STE_PHYCTL 0x5E
#define STE_MAR0 0x60
-#define STE_MAR1 0x64
+#define STE_MAR1 0x62
+#define STE_MAR2 0x64
+#define STE_MAR3 0x66
#define STE_STATS 0x68
#define STE_DMACTL_RXDMA_STOPPED 0x00000001
OpenPOWER on IntegriCloud