diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-09 10:59:53 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-09 10:59:53 +0000 |
commit | e62e50c66360669d5e64d61f615d9b4ee24ca59f (patch) | |
tree | 3d67ef77a708abf849136a684e304aa88f7b35af /LUFA/Drivers/USB | |
parent | d5d83b8e8f8238114426a0ca4476062cdc765ea1 (diff) | |
download | lufa-e62e50c66360669d5e64d61f615d9b4ee24ca59f.tar.gz lufa-e62e50c66360669d5e64d61f615d9b4ee24ca59f.tar.bz2 lufa-e62e50c66360669d5e64d61f615d9b4ee24ca59f.zip |
Add dummy handler for SCSI_CMD_START_STOP_UNIT in all project SCSI handling routines, to prevent ejection errors on *nix systems due to an unknown SCSI command.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h b/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h index 9008b3309..10feb567a 100644 --- a/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h +++ b/LUFA/Drivers/USB/Class/Common/MassStorageClassCommon.h @@ -90,6 +90,9 @@ /** SCSI Command Code for a READ CAPACITY (10) command. */ #define SCSI_CMD_READ_CAPACITY_10 0x25 + /** SCSI Command Code for a START STOP UNIT command. */ + #define SCSI_CMD_START_STOP_UNIT 0x1B + /** SCSI Command Code for a SEND DIAGNOSTIC command. */ #define SCSI_CMD_SEND_DIAGNOSTIC 0x1D |