Oops - fix broken SPI driver due to missing bit inversion on a port mask.
[pub/USBasp.git] / Demos / Host / LowLevel / MassStorageHost / Lib / SCSI_Codes.h
index 5b6b76a..6bcd578 100644 (file)
@@ -1,7 +1,7 @@
 /*
              LUFA Library
      Copyright (C) Dean Camera, 2010.
 /*
              LUFA Library
      Copyright (C) Dean Camera, 2010.
-              
+
   dean [at] fourwalledcubicle [dot] com
       www.fourwalledcubicle.com
 */
   dean [at] fourwalledcubicle [dot] com
       www.fourwalledcubicle.com
 */
@@ -9,13 +9,13 @@
 /*
   Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
 /*
   Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
-  Permission to use, copy, modify, distribute, and sell this 
+  Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
   software and its documentation for any purpose is hereby granted
-  without fee, provided that the above copyright notice appear in 
+  without fee, provided that the above copyright notice appear in
   all copies and that both that the copyright notice and this
   all copies and that both that the copyright notice and this
-  permission notice and warranty disclaimer appear in supporting 
-  documentation, and that the name of the author not be used in 
-  advertising or publicity pertaining to distribution of the 
+  permission notice and warranty disclaimer appear in supporting
+  documentation, and that the name of the author not be used in
+  advertising or publicity pertaining to distribution of the
   software without specific, written prior permission.
 
   The author disclaim all warranties with regard to this
   software without specific, written prior permission.
 
   The author disclaim all warranties with regard to this
@@ -34,7 +34,7 @@
  *  the SCSI standard documentation for more information on each SCSI command and
  *  the SENSE data.
  */
  *  the SCSI standard documentation for more information on each SCSI command and
  *  the SENSE data.
  */
+
 #ifndef _SCSI_CODES_H_
 #define _SCSI_CODES_H_
 
 #ifndef _SCSI_CODES_H_
 #define _SCSI_CODES_H_
 
 
                #define SCSI_ASENSE_NO_ADDITIONAL_INFORMATION          0x00
                #define SCSI_ASENSE_LOGICAL_UNIT_NOT_READY             0x04
 
                #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_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_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
                #define SCSI_ASENSE_MEDIUM_NOT_PRESENT                 0x3A
 
                #define SCSI_ASENSEQ_NO_QUALIFIER                      0x00
@@ -83,3 +84,4 @@
                #define SCSI_ASENSEQ_OPERATION_IN_PROGRESS             0x07
 
 #endif
                #define SCSI_ASENSEQ_OPERATION_IN_PROGRESS             0x07
 
 #endif
+