Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/127dbbdcb10e
branches:  netbsd-9
changeset: 368910:127dbbdcb10e
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Aug 12 15:12:29 2022 +0000

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

        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 932f507cded5 -r 127dbbdcb10e sys/dev/ic/dwc_gmac.c
--- a/sys/dev/ic/dwc_gmac.c     Mon Aug 08 17:19:03 2022 +0000
+++ b/sys/dev/ic/dwc_gmac.c     Fri Aug 12 15:12:29 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.64.2.1 2020/08/11 17:14:21 martin Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.64.2.2 2022/08/12 15:12:29 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.64.2.1 2020/08/11 17:14:21 martin Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.64.2.2 2022/08/12 15:12:29 martin Exp $");
 
 /* #define     DWC_GMAC_DEBUG  1 */
 
@@ -812,7 +812,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