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 ms...



details:   https://anonhg.NetBSD.org/src/rev/e23877ecc05e
branches:  netbsd-8
changeset: 744723:e23877ecc05e
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 11 08:44:11 2020 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #1501):

        sys/dev/ic/elinkxl.c: revision 1.137

  Restore an register read for RX_FRAMES_OK which was removed in rev. 1.133.

All statistics registers should be read to ACK the interrupt. Fixes PR#54920.
XXX pullup-[89]

diffstat:

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

diffs (26 lines):

diff -r cb5939e6fa86 -r e23877ecc05e sys/dev/ic/elinkxl.c
--- a/sys/dev/ic/elinkxl.c      Tue Feb 11 08:39:01 2020 +0000
+++ b/sys/dev/ic/elinkxl.c      Tue Feb 11 08:44:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elinkxl.c,v 1.121.6.2 2019/11/06 10:04:46 martin Exp $ */
+/*     $NetBSD: elinkxl.c,v 1.121.6.3 2020/02/11 08:44:11 martin Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: elinkxl.c,v 1.121.6.2 2019/11/06 10:04:46 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: elinkxl.c,v 1.121.6.3 2020/02/11 08:44:11 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1510,6 +1510,7 @@
        (void)bus_space_read_1(iot, ioh, TX_AFTER_1_COLLISION);
        (void)bus_space_read_1(iot, ioh, TX_NO_SQE);
        (void)bus_space_read_1(iot, ioh, TX_CD_LOST);
+       (void)bus_space_read_1(iot, ioh, RX_FRAMES_OK);
        GO_WINDOW(4);
        (void)bus_space_read_1(iot, ioh, ELINK_W4_BADSSD);
        GO_WINDOW(1);



Home | Main Index | Thread Index | Old Index