From 2b2f3c09a63925b12b5897dbb74c7292c38358cb Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Tue, 28 Jun 2011 16:44:02 +0000 Subject: [PATCH] Fix typo in r223648 which was accidentally committed --- sys/dev/gem/if_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c index e0df59147eb3..7f44f227fdea 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);