Author: yongari
Date: Tue Oct 21 01:31:24 2014
New Revision: 273359
URL: https://svnweb.freebsd.org/changeset/base/273359

Log:
  It seems multicast filtering of RTL8168F does not work.  Workaround
  the silicon bug by accepting any multicast packets.
  
  PR:   193488
  MFC After:    1 week

Modified:
  head/sys/dev/re/if_re.c

Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c     Tue Oct 21 01:15:43 2014        (r273358)
+++ head/sys/dev/re/if_re.c     Tue Oct 21 01:31:24 2014        (r273359)
@@ -703,6 +703,12 @@ re_set_rxmode(struct rl_softc *sc)
                rxfilt |= RL_RXCFG_RX_MULTI;
        }
 
+       if  (sc->rl_hwrev->rl_rev == RL_HWREV_8168F) {
+               /* Disable multicast filtering due to silicon bug. */
+               hashes[0] = 0xffffffff;
+               hashes[1] = 0xffffffff;
+       }
+
 done:
        CSR_WRITE_4(sc, RL_MAR0, hashes[0]);
        CSR_WRITE_4(sc, RL_MAR4, hashes[1]);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to