diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-08-20 11:03:25 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-08-20 11:03:25 +0000 |
commit | ad4308b1d123c36df674f553bb0c43f23cd7a99a (patch) | |
tree | da0975edb09286a24fac706b44d5c497c92a9422 /Demos/Host | |
parent | 4f114e576694b6b49931d5f14874df6c361d4267 (diff) | |
download | lufa-ad4308b1d123c36df674f553bb0c43f23cd7a99a.tar.gz lufa-ad4308b1d123c36df674f553bb0c43f23cd7a99a.tar.bz2 lufa-ad4308b1d123c36df674f553bb0c43f23cd7a99a.zip |
Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger)
Diffstat (limited to 'Demos/Host')
-rw-r--r-- | Demos/Host/LowLevel/MassStorageHost/Lib/SCSI_Codes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Demos/Host/LowLevel/MassStorageHost/Lib/SCSI_Codes.h b/Demos/Host/LowLevel/MassStorageHost/Lib/SCSI_Codes.h index 5b6b76ac8..a69aa56fe 100644 --- a/Demos/Host/LowLevel/MassStorageHost/Lib/SCSI_Codes.h +++ b/Demos/Host/LowLevel/MassStorageHost/Lib/SCSI_Codes.h @@ -70,11 +70,12 @@ #define SCSI_ASENSE_NO_ADDITIONAL_INFORMATION 0x00 #define SCSI_ASENSE_LOGICAL_UNIT_NOT_READY 0x04 + #define SCSI_ASENSE_INVALID_COMMAND 0x20 + #define SCSI_ASENSE_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE 0x21 #define SCSI_ASENSE_INVALID_FIELD_IN_CDB 0x24 #define SCSI_ASENSE_WRITE_PROTECTED 0x27 + #define SCSI_ASENSE_NOT_READY_TO_READY_CHANGE 0x28 #define SCSI_ASENSE_FORMAT_ERROR 0x31 - #define SCSI_ASENSE_INVALID_COMMAND 0x20 - #define SCSI_ASENSE_LOGICAL_BLOCK_ADDRESS_OUT_OF_RANGE 0x21 #define SCSI_ASENSE_MEDIUM_NOT_PRESENT 0x3A #define SCSI_ASENSEQ_NO_QUALIFIER 0x00 |