Subject: CVS commit: syssrc/sys/dev/ic
To: None <source-changes@netbsd.org>
From: Michael L. Hitch <mhitch@netbsd.org>
List: source-changes
Date: 04/06/2002 22:28:02
Module Name:	syssrc
Committed By:	mhitch
Date:		Sat Apr  6 19:28:02 UTC 2002

Modified Files:
	syssrc/sys/dev/ic: elinkxl.c

Log Message:
Interface byte counts are counted in ether_input() and ether_output().  Don't
count them when reading the NIC counters - it doubles the count.  Read the
NIC counters to prevent counter overflow interrupts, but don't add them to
the interface counters.  Don't bother reading the upper counts because they
are just latched when reading the totals.

Fixes final part of PR#11549.


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 syssrc/sys/dev/ic/elinkxl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.