Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Lennart Augustsson <augustss@netbsd.org>
List: source-changes
Date: 05/01/2005 19:24:39
Module Name:	src
Committed By:	augustss
Date:		Sun May  1 19:24:39 UTC 2005

Modified Files:
	src/sys/dev/usb: ehci.c ehcireg.h

Log Message:
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.97 -r1.98 src/sys/dev/usb/ehci.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/usb/ehcireg.h

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