Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/ep93xx More if_stat*
details: https://anonhg.NetBSD.org/src/rev/0dabbb8b5e05
branches: trunk
changeset: 1007021:0dabbb8b5e05
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Feb 03 13:58:05 2020 +0000
description:
More if_stat*
diffstat:
sys/arch/arm/ep93xx/epe.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4d5170e52e5d -r 0dabbb8b5e05 sys/arch/arm/ep93xx/epe.c
--- a/sys/arch/arm/ep93xx/epe.c Mon Feb 03 13:53:57 2020 +0000
+++ b/sys/arch/arm/ep93xx/epe.c Mon Feb 03 13:58:05 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: epe.c,v 1.46 2020/02/03 13:53:57 skrll Exp $ */
+/* $NetBSD: epe.c,v 1.47 2020/02/03 13:58:05 skrll Exp $ */
/*
* Copyright (c) 2004 Jesse Off
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.46 2020/02/03 13:53:57 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.47 2020/02/03 13:58:05 skrll Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -505,7 +505,7 @@
int s;
uint32_t misses;
- ifp->if_collisions += EPE_READ(TXCollCnt);
+ if_statadd(ifp, if_collisions, EPE_READ(TXCollCnt));
/* These misses are ok, they will happen if the RAM/CPU can't keep up */
misses = EPE_READ(RXMissCnt);
if (misses > 0)
Home |
Main Index |
Thread Index |
Old Index