Revert "usb_disk: retry when usb disk not ready"

This reverts commit d46d383800.

Regression: CD/DVD-ROM media changes are not recognized anymore.
This commit is contained in:
Jérôme Duval 2013-10-19 22:00:14 +02:00
parent 5d9aaba22f
commit 6180dde498

View File

@ -315,7 +315,7 @@ scsi_sense_asc_table sSCSISenseAscTable[] =
{ 0x2705, "Permanent write protect", err_act_fail, B_READ_ONLY_DEVICE }, // T R
{ 0x2706, "Conditional write protect", err_act_fail, B_READ_ONLY_DEVICE }, // R F
{ 0x2707, "Space allocation failed write protect", err_act_fail, B_READ_ONLY_DEVICE }, // D B
{ 0x2800, "Not ready to ready change, medium may have changed", err_act_retry, B_DEV_MEDIA_CHANGED }, // DTLPWROMAEBKVF
{ 0x2800, "Not ready to ready change, medium may have changed", err_act_fail, B_DEV_MEDIA_CHANGED }, // DTLPWROMAEBKVF
{ 0x2801, "Import or export element accessed", err_act_fail, ENXIO }, // DT WROM B
{ 0x2802, "Format-layer may have changed", err_act_fail, B_DEV_MEDIA_CHANGED }, // R
{ 0x2803, "Import/export element accessed, medium changed", err_act_fail, B_ERROR }, // M