aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-08-20 11:03:25 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-08-20 11:03:25 +0000
commitad4308b1d123c36df674f553bb0c43f23cd7a99a (patch)
treeda0975edb09286a24fac706b44d5c497c92a9422 /LUFA/Drivers
parent4f114e576694b6b49931d5f14874df6c361d4267 (diff)
downloadlufa-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 'LUFA/Drivers')
-rw-r--r--LUFA/Drivers/USB/Class/Common/MassStorage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/MassStorage.h b/LUFA/Drivers/USB/Class/Common/MassStorage.h
index dd2da2ffb..9a391ee07 100644
--- a/LUFA/Drivers/USB/Class/Common/MassStorage.h
+++ b/LUFA/Drivers/USB/Class/Common/MassStorage.h
@@ -176,6 +176,11 @@
/** SCSI Additional Sense Code to indicate an invalid field was encountered while processing the issued command. */
#define SCSI_ASENSE_INVALID_FIELD_IN_CDB 0x24
+ /** SCSI Additional Sense Code to indicate that a medium that was previously indicated as not ready has now
+ * become ready for use.
+ */
+ #define SCSI_ASENSE_NOT_READY_TO_READY_CHANGE 0x28
+
/** SCSI Additional Sense Code to indicate that an attempt to write to a protected area was made. */
#define SCSI_ASENSE_WRITE_PROTECTED 0x27