Subject: CVS commit: syssrc/sys/dev/scsipi
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 05/18/2002 17:49:57
Module Name:	syssrc
Committed By:	bouyer
Date:		Sat May 18 14:49:56 UTC 2002

Modified Files:
	syssrc/sys/dev/scsipi: atapi_wdc.c

Log Message:
If the data len if not a multiple of 2 bytes, force PIO mode. DMA can't
deal with such xfers, and can wedge the system with some controllers.
It's a bug to request such xfers for ATAPI, but as the request may come
from userland we have to protect against it.


To generate a diff of this commit:
cvs rdiff -r1.51 -r1.52 syssrc/sys/dev/scsipi/atapi_wdc.c

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