summaryrefslogtreecommitdiffstats
path: root/sys/dev/gem
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-06-28 16:44:02 +0000
committermarius <marius@FreeBSD.org>2011-06-28 16:44:02 +0000
commit7573a2a80c2735616e782ffa398130ee14a6efa2 (patch)
tree9b5bd495b370963d36733677a29de9ebb0590781 /sys/dev/gem
parent57a4978d94386cf63e9d3bb1f17241b75af936c7 (diff)
downloadFreeBSD-src-7573a2a80c2735616e782ffa398130ee14a6efa2.zip
FreeBSD-src-7573a2a80c2735616e782ffa398130ee14a6efa2.tar.gz
Fix typo in r223648 which was accidentally committed
Diffstat (limited to 'sys/dev/gem')
-rw-r--r--sys/dev/gem/if_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c
index e0df591..7f44f22 100644
--- a/sys/dev/gem/if_gem.c
+++ b/sys/dev/gem/if_gem.c
@@ -2209,7 +2209,7 @@ gem_setladrf(struct gem_softc *sc, u_int enable)
* Turn off the RX MAC and the hash filter as required by the Sun GEM
* programming restrictions.
*/
- v = sc->sc_mac_rxcfg & GEM_MAC_RX_HASH_FILTER;
+ v = sc->sc_mac_rxcfg & ~GEM_MAC_RX_HASH_FILTER;
GEM_BANK1_WRITE_4(sc, GEM_MAC_RX_CONFIG, v);
GEM_BANK1_BARRIER(sc, GEM_MAC_RX_CONFIG, 4,
BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE);
OpenPOWER on IntegriCloud