Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 11/03/2006 08:41:05
Module Name:	src
Committed By:	tsutsui
Date:		Fri Nov  3 08:41:05 UTC 2006

Modified Files:
	src/sys/dev/pci: if_vr.c if_vrreg.h

Log Message:
Pull several fixes which improve TX error handling
from FreeBSD's if_vr.c rev 1.52:
- check more error status in TX descriptor and restart TX module
  appropriately in vr_txeof()
- check more error interrupt status in vr_intr()

I can't confirm whether these changes actually fix TX stalls because
I can't reproduce the problem I had about seven years ago (I guess
it might be caused by excessive collisions on a dumb hub), but at least
they don't seem to have bad side effects on normal operations on my macppc.


To generate a diff of this commit:
cvs rdiff -r1.81 -r1.82 src/sys/dev/pci/if_vr.c
cvs rdiff -r1.14 -r1.15 src/sys/dev/pci/if_vrreg.h

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