Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 01/19/2005 06:00:23
Module Name:	src
Committed By:	dyoung
Date:		Wed Jan 19 06:00:23 UTC 2005

Modified Files:
	src/sys/dev/pci: if_ipw.c if_ipwvar.h

Log Message:
Keep a count of free transmit/command descriptors, sc->txfree.
Make the transmit section reserve one descriptor for issuing a
command at all times.  If either transmit descriptors run out, or
header/buffer software descriptors run out, set IFF_OACTIVE and
get out of ipw_start, rather than re-using a descriptor or trying
to use a NULL descriptor that comes off the front of an empty
descriptor tailqueue.

This ought to fix port-i386/27439 and kern/28683.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dev/pci/if_ipw.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/pci/if_ipwvar.h

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