Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 04/15/1999 09:21:27
Module Name:	src
Committed By:	bouyer
Date:		Thu Apr 15 16:21:27 UTC 1999

Modified Files:
	src/sys/dev/scsipi: atapi_wdc.c
Log Message:
If setting to pio mode < 3 fails, try to set pio mode 3 before returning
EIO. The spec says ATAPI devices should support "PIO 3 or better".
They are supposed to support less as well. Setting the device to a highter
mode than the controller shoul'nt be a problem, and this is likely what
happens with legaty ISA controllers.
Solve problem reported by Ruey-Shyang Guo.