Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 04/06/2006 06:08:26
Module Name:	src
Committed By:	dyoung
Date:		Thu Apr  6 06:08:26 UTC 2006

Modified Files:
	src/sys/dev/ic: atw.c

Log Message:
In atw_start, do not initialize lasttx with -1, but initialize it
with the next free transmit descriptor.  Now, it is more obvious
that lasttx is not an illegal negative index into the descriptor
ring.  Remove a superfluous assertion.

Addresses Coverity CID 1319.


To generate a diff of this commit:
cvs rdiff -r1.116 -r1.117 src/sys/dev/ic/atw.c

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