Subject: CVS commit: syssrc/sys/dev
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 04/10/2002 00:17:56
Module Name:	syssrc
Committed By:	bouyer
Date:		Tue Apr  9 21:17:55 UTC 2002

Modified Files:
	syssrc/sys/dev/ata: ata.c atavar.h
	syssrc/sys/dev/ic: wdc.c

Log Message:
In wdc_exec_command(), for data commands, read the status register after
the data transfer. This is mandatory for data out commands (although none are
used for now), and not forbiddend for data in commands. Also record if we
did transfers any data.
May solve kern/16159 by making the probe more robust in face of fake identify.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/ata/ata.c
cvs rdiff -r1.23 -r1.24 syssrc/sys/dev/ata/atavar.h
cvs rdiff -r1.113 -r1.114 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.