Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/dev/ic Pull up following revision(s) (requested by se...



details:   https://anonhg.NetBSD.org/src/rev/febe8947105b
branches:  netbsd-8
changeset: 368913:febe8947105b
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Aug 12 15:13:45 2022 +0000

description:
Pull up following revision(s) (requested by sekiya in ticket #1755):

        sys/dev/ic/dwc_gmac.c: revision 1.76-1.77

Turn off AWIN_GMAC_MAC_CONF_ACS, so that all received packets retain FCS
bytes.
ether_input() can now trust M_HASFCS to accurately represent the packet
contents.

Discussed on tech-net@

diffstat:

 sys/dev/ic/dwc_gmac.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 415ecf2e71c5 -r febe8947105b sys/dev/ic/dwc_gmac.c
--- a/sys/dev/ic/dwc_gmac.c     Tue Aug 02 15:44:56 2022 +0000
+++ b/sys/dev/ic/dwc_gmac.c     Fri Aug 12 15:13:45 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.40.6.4 2018/06/18 15:39:49 martin Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.40.6.5 2022/08/12 15:13:45 martin Exp $ */
 
 /*-
  * Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.40.6.4 2018/06/18 15:39:49 martin Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.40.6.5 2022/08/12 15:13:45 martin Exp $");
 
 /* #define     DWC_GMAC_DEBUG  1 */
 
@@ -722,7 +722,6 @@
        conf |= AWIN_GMAC_MAC_CONF_FRAMEBURST
            | AWIN_GMAC_MAC_CONF_DISABLERXOWN
            | AWIN_GMAC_MAC_CONF_DISABLEJABBER
-           | AWIN_GMAC_MAC_CONF_ACS
            | AWIN_GMAC_MAC_CONF_RXENABLE
            | AWIN_GMAC_MAC_CONF_TXENABLE;
        switch (IFM_SUBTYPE(mii->mii_media_active)) {



Home | Main Index | Thread Index | Old Index