Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 16:44:02 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r223649 - head/sys/dev/gem
Message-ID:  <201106281644.p5SGi2Lk057491@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Tue Jun 28 16:44:02 2011
New Revision: 223649
URL: http://svn.freebsd.org/changeset/base/223649

Log:
  Fix typo in r223648 which was accidentally committed

Modified:
  head/sys/dev/gem/if_gem.c

Modified: head/sys/dev/gem/if_gem.c
==============================================================================
--- head/sys/dev/gem/if_gem.c	Tue Jun 28 16:16:43 2011	(r223648)
+++ head/sys/dev/gem/if_gem.c	Tue Jun 28 16:44:02 2011	(r223649)
@@ -2209,7 +2209,7 @@ gem_setladrf(struct gem_softc *sc, u_int
 	 * 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106281644.p5SGi2Lk057491>