Module Name: src Committed By: msaitoh Date: Thu Feb 4 10:20:54 UTC 2010
Modified Files: src/sys/dev/pci: if_wm.c Log Message: Don't increment when ICR_RXO is set because we count them by WMREG_MPC counter. To generate a diff of this commit: cvs rdiff -u -r1.196 -r1.197 src/sys/dev/pci/if_wm.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/pci/if_wm.c diff -u src/sys/dev/pci/if_wm.c:1.196 src/sys/dev/pci/if_wm.c:1.197 --- src/sys/dev/pci/if_wm.c:1.196 Thu Feb 4 09:13:23 2010 +++ src/sys/dev/pci/if_wm.c Thu Feb 4 10:20:54 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: if_wm.c,v 1.196 2010/02/04 09:13:23 msaitoh Exp $ */ +/* $NetBSD: if_wm.c,v 1.197 2010/02/04 10:20:54 msaitoh Exp $ */ /* * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc. @@ -76,7 +76,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.196 2010/02/04 09:13:23 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.197 2010/02/04 10:20:54 msaitoh Exp $"); #include "rnd.h" @@ -2595,7 +2595,6 @@ } if (icr & ICR_RXO) { - ifp->if_ierrors++; #if defined(WM_DEBUG) log(LOG_WARNING, "%s: Receive overrun\n", device_xname(sc->sc_dev));