Subject: CVS commit: [netbsd-3] src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 05/01/2005 21:53:14
Module Name:	src
Committed By:	tron
Date:		Sun May  1 21:53:14 UTC 2005

Modified Files:
	src/sys/dev/usb [netbsd-3]: ehci.c

Log Message:
Pull up revision 1.98 (requested by augustss in ticket #240):
Fix the error check on completion of an xfer.  Just because the qTD status
field has error bits set doesn't mean there has been an error, unless the
HALTED bit is set as well.  The old behaviour could result in a transfer
being considered failed by the software, but a success by the device.
This seems to have affected mostly mass storage devices.
Pointed out by Dan Ellis in kern/29731.


To generate a diff of this commit:
cvs rdiff -r1.91.2.4 -r1.91.2.5 src/sys/dev/usb/ehci.c

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