Module Name: src
Committed By: martin
Date: Tue Feb 11 08:44:11 UTC 2020
Modified Files:
src/sys/dev/ic [netbsd-8]: elinkxl.c
Log Message:
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]
To generate a diff of this commit:
cvs rdiff -u -r1.121.6.2 -r1.121.6.3 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.121.6.2 src/sys/dev/ic/elinkxl.c:1.121.6.3
--- src/sys/dev/ic/elinkxl.c:1.121.6.2 Wed Nov 6 10:04:46 2019
+++ src/sys/dev/ic/elinkxl.c Tue Feb 11 08:44:11 2020
@@ -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 @@ 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);