Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 07/30/1999 07:59:11
Module Name:	syssrc
Committed By:	bouyer
Date:		Fri Jul 30 14:59:11 UTC 1999

Modified Files:
	syssrc/sys/dev/ic: wdc.c

Log Message:
Guard tsleep() with a while (!(wdc_c->flags & AT_DONE)) {}, as suggested by
Constantine Sapuntzakis confirmed by Bill Sommerfeld. Although nothing is
supposed to call wakeup on this without setting AT_DONE, it's good practice to
do it this way (the process may be waken up by a setrunnable() call).


To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 syssrc/sys/dev/ic/wdc.c

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