Subject: CVS commit: syssrc/sys/dev/pci
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 06/05/2002 18:24:32
Module Name:	syssrc
Committed By:	bouyer
Date:		Wed Jun  5 15:24:32 UTC 2002

Modified Files:
	syssrc/sys/dev/pci: if_ste.c

Log Message:
Rework transmit underrun logic:
- when a transmit underrun occurs, only reset the transmit logic. This prevents
  the link from going down at the MII level (the same logic can probably
  be used for other transmit errors)
- set the urgent threshold to half the start threshold. From experiments
  this helps a bit decreasing the number of underruns

Now that underruns don't cause the interface to stop for several seconds,
make back out the default transmit threshold to 128.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/pci/if_ste.c

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