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



details:   https://anonhg.NetBSD.org/src/rev/ee9f38d9ad34
branches:  netbsd-9
changeset: 744720:ee9f38d9ad34
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 11 08:41:27 2020 +0000

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

        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 439910cffb59 -r ee9f38d9ad34 sys/dev/ic/elinkxl.c
--- a/sys/dev/ic/elinkxl.c      Tue Feb 11 08:37:34 2020 +0000
+++ b/sys/dev/ic/elinkxl.c      Tue Feb 11 08:41:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elinkxl.c,v 1.131.2.1 2019/11/06 09:59:38 martin Exp $ */
+/*     $NetBSD: elinkxl.c,v 1.131.2.2 2020/02/11 08:41:27 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.131.2.1 2019/11/06 09:59:38 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: elinkxl.c,v 1.131.2.2 2020/02/11 08:41:27 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1514,6 +1514,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