Date: Fri, 11 Sep 2020 02:02:13 +0000 (UTC) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365623 - head/sys/dev/usb/net Message-ID: <202009110202.08B22DxY045186@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmg Date: Fri Sep 11 02:02:13 2020 New Revision: 365623 URL: https://svnweb.freebsd.org/changeset/base/365623 Log: Don't clear reserved bits per RealTek MFC after: 3 days Modified: head/sys/dev/usb/net/if_ure.c Modified: head/sys/dev/usb/net/if_ure.c ============================================================================== --- head/sys/dev/usb/net/if_ure.c Fri Sep 11 00:12:05 2020 (r365622) +++ head/sys/dev/usb/net/if_ure.c Fri Sep 11 02:02:13 2020 (r365623) @@ -816,9 +816,10 @@ ure_rxfilter(struct usb_ether *ue) URE_LOCK_ASSERT(sc, MA_OWNED); - rxmode = URE_RCR_APM; - if (ifp->if_flags & IFF_BROADCAST) - rxmode |= URE_RCR_AB; + rxmode = ure_read_4(sc, URE_PLA_RCR, URE_MCU_TYPE_PLA); + rxmode &= ~(URE_RCR_AAP | URE_RCR_AM); + rxmode |= URE_RCR_APM; /* accept physical match packets */ + rxmode |= URE_RCR_AB; /* always accept broadcasts */ if (ifp->if_flags & (IFF_ALLMULTI | IFF_PROMISC)) { if (ifp->if_flags & IFF_PROMISC) rxmode |= URE_RCR_AAP;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009110202.08B22DxY045186>