Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-10]: src/sys/dev/pci Pull up following revision(s) (requested by ...
details: https://anonhg.NetBSD.org/src/rev/f0b21bedc456
branches: netbsd-10
changeset: 376660:f0b21bedc456
user: martin <martin%NetBSD.org@localhost>
date: Tue Jun 27 18:24:18 2023 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #216):
sys/dev/pci/if_wm.c: revision 1.782
Add missing read to count Circuit Breaker Rx Dropped Packet correctly.
diffstat:
sys/dev/pci/if_wm.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 24fbaa2db0d4 -r f0b21bedc456 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Tue Jun 27 18:20:18 2023 +0000
+++ b/sys/dev/pci/if_wm.c Tue Jun 27 18:24:18 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.767.2.1 2023/06/22 08:14:35 martin Exp $ */
+/* $NetBSD: if_wm.c,v 1.767.2.2 2023/06/27 18:24:18 martin Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.767.2.1 2023/06/22 08:14:35 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.767.2.2 2023/06/27 18:24:18 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_if_wm.h"
@@ -6588,6 +6588,8 @@ wm_update_stats(struct wm_softc *sc)
WM_EVCNT_ADD(&sc->sc_ev_tsctfc,
CSR_READ(sc, WMREG_TSCTFC));
else {
+ WM_EVCNT_ADD(&sc->sc_ev_cbrdpc,
+ CSR_READ(sc, WMREG_CBRDPC));
WM_EVCNT_ADD(&sc->sc_ev_cbrmpc,
CSR_READ(sc, WMREG_CBRMPC));
}
Home |
Main Index |
Thread Index |
Old Index