Subject: CVS commit: [netbsd-4] src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 01/29/2007 22:29:09
Module Name:	src
Committed By:	bouyer
Date:		Mon Jan 29 22:29:09 UTC 2007

Modified Files:
	src/sys/dev/scsipi [netbsd-4]: atapi_wdc.c

Log Message:
Pull up following revision(s) (requested by reinoud in ticket #388):
	sys/dev/scsipi/atapi_wdc.c: revision 1.104
Fix for atapi devices that have 32 bit databusses selected. The devices
won't error out but will return garbage data. Implemented by generalising
the odd-check for PIO selection to check for 4 byte alignment in offset and
size.
Note that this check could be relaxed by checking if the ATAPI/ide bus
width is 16 for the device but its unknown to me if that information is
available here.


To generate a diff of this commit:
cvs rdiff -r1.103 -r1.103.2.1 src/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.