Actually don't report any failures of the TUR command, as for devices with no
media present they will always fail with the no media or media changed errors. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32732 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
de9aa21e08
commit
5fa8a19786
|
@ -382,8 +382,11 @@ usb_disk_operation(device_lun *lun, uint8 operation, uint8 opLength,
|
||||||
return B_OK;
|
return B_OK;
|
||||||
} else {
|
} else {
|
||||||
// the operation is complete but has failed at the SCSI level
|
// the operation is complete but has failed at the SCSI level
|
||||||
TRACE_ALWAYS("operation 0x%02x failed at the SCSI level\n",
|
if (operation != SCSI_TEST_UNIT_READY_6) {
|
||||||
operation);
|
TRACE_ALWAYS("operation 0x%02x failed at the SCSI level\n",
|
||||||
|
operation);
|
||||||
|
}
|
||||||
|
|
||||||
result = usb_disk_request_sense(lun);
|
result = usb_disk_request_sense(lun);
|
||||||
return result == B_OK ? B_ERROR : result;
|
return result == B_OK ? B_ERROR : result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue