Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci remove extra "+"
details: https://anonhg.NetBSD.org/src/rev/ec185bbfb27d
branches: trunk
changeset: 352288:ec185bbfb27d
user: knakahara <knakahara%NetBSD.org@localhost>
date: Fri Mar 24 10:18:55 2017 +0000
description:
remove extra "+"
diffstat:
sys/dev/pci/if_wm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4c95388aa04f -r ec185bbfb27d sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Fri Mar 24 10:02:35 2017 +0000
+++ b/sys/dev/pci/if_wm.c Fri Mar 24 10:18:55 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.503 2017/03/24 10:02:35 knakahara Exp $ */
+/* $NetBSD: if_wm.c,v 1.504 2017/03/24 10:18:55 knakahara Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -84,7 +84,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.503 2017/03/24 10:02:35 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.504 2017/03/24 10:18:55 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -2923,7 +2923,7 @@
}
ifp->if_collisions += CSR_READ(sc, WMREG_COLC);
- ifp->if_ierrors += 0ULL + /* ensure quad_t */
+ ifp->if_ierrors += 0ULL /* ensure quad_t */
+ CSR_READ(sc, WMREG_CRCERRS)
+ CSR_READ(sc, WMREG_ALGNERRC)
+ CSR_READ(sc, WMREG_SYMERRC)
Home |
Main Index |
Thread Index |
Old Index