]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
Rework change made at r203146. Instead of reporting all wire errors as
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 18 Apr 2011 11:25:13 +0000 (11:25 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 18 Apr 2011 11:25:13 +0000 (11:25 +0000)
commit573632f45b2b8582adaa04e5b00c94c34d470202
treec71a819ec881b3ca1ddacddd240cba1071dbf8d2
parent023ce414b999fb7155b46af9d81ddd9e1447db89
Rework change made at r203146. Instead of reporting all wire errors as
SCSI status errors to CAM (that was wrong, as it too often turned retriable
wire errors into non-retriable REQUEST SENSE errors), do it only for STALL
errors on control pipe of the CBI devices. STALL on control pipe is just
a one of the ways to report error for CBI devices.

PR: usb/150401, usb/154593.
Reviewed by: hselasky

git-svn-id: svn://svn.freebsd.org/base/stable/8@220771 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/storage/umass.c