Pete:

Can you confirm that this patch, combined with David's reversion patch in

http://marc.theaimsgroup.com/?l=linux-usb-devel&m=111228202928098&w=2

suffices to get your CD-ROM drives working properly with usb-storage, even 
in the presence of data toggle mismatch errors?

Alan Stern


===== drivers/scsi/scsi_error.c 1.48 vs edited =====
--- 1.48/drivers/scsi/scsi_error.c      2005-03-22 01:44:55 -05:00
+++ edited/drivers/scsi/scsi_error.c    2005-03-30 14:48:23 -05:00
@@ -810,9 +810,11 @@
                __FUNCTION__, scmd, rtn));
        if (rtn == SUCCESS)
                return 0;
-       else if (rtn == NEEDS_RETRY)
+       else if (rtn == NEEDS_RETRY) {
                if (retry_cnt--)
                        goto retry_tur;
+               return 0;
+       }
        return 1;
 }
 



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to