Module Name: src
Committed By: martin
Date: Tue Feb 11 08:41:28 UTC 2020
Modified Files:
src/sys/dev/ic [netbsd-9]: elinkxl.c
Log Message:
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]
To generate a diff of this commit:
cvs rdiff -u -r1.131.2.1 -r1.131.2.2 src/sys/dev/ic/elinkxl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/elinkxl.c
diff -u src/sys/dev/ic/elinkxl.c:1.131.2.1 src/sys/dev/ic/elinkxl.c:1.131.2.2
--- src/sys/dev/ic/elinkxl.c:1.131.2.1 Wed Nov 6 09:59:38 2019
+++ src/sys/dev/ic/elinkxl.c Tue Feb 11 08:41:27 2020
@@ -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 @@ ex_getstats(struct ex_softc *sc)
(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);