Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 11/19/2005 21:45:50
Module Name:	src
Committed By:	riz
Date:		Sat Nov 19 21:45:50 UTC 2005

Modified Files:
	src/sys/dev/pci: if_sk.c

Log Message:
From FreeBSD (appropriate pieces of revs 1.90 and 1.92):

Only clear the IFF_OACTIVE flag when we have a chance of being able
to queue a packet to the hardware, instead of when the hardware queue
is empty, and fix up handling and prodding of the tx.

These fixes clear up an occasional "sk0: watchdog timeout" from the
on-board ethernet on my Asus A8V motherboard.

OK christos@


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/dev/pci/if_sk.c

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