diff options
author | yongari <yongari@FreeBSD.org> | 2011-01-18 17:50:14 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-01-18 17:50:14 +0000 |
commit | c611bd5688f62269d694cbf11e0f3c27d3bad205 (patch) | |
tree | 340fb5f54d515d8743d474fa2e616b66d74a554a /usr.sbin/mlxcontrol | |
parent | 292fcec2b720247e26b77f641e15af1b66fbbc26 (diff) | |
download | FreeBSD-src-c611bd5688f62269d694cbf11e0f3c27d3bad205.zip FreeBSD-src-c611bd5688f62269d694cbf11e0f3c27d3bad205.tar.gz |
Rework RX filter programming by providing separate handler for
DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no
longer reinitializes controller if ALLMULTI/PROMISC was changed.
However, RX filter handling code assumed some bits of the RX filter
is programmed by driver initialization. This caused ALLMULTI/PROMISC
configuration is ignored under certain conditions.
Fix that issue by reprogramming all bits of RX filter register.
While I'm here follow recommended RX filter programming steps
recommended by National DP8381[56] data sheet(RX filter should be
is disabled before programming).
Reported by: Paul Schenkeveld < freebsd () psconsult dot nl >
Tested by: Paul Schenkeveld < freebsd () psconsult dot nl >
MFC after: 3 days
Diffstat (limited to 'usr.sbin/mlxcontrol')
0 files changed, 0 insertions, 0 deletions