diff options
Diffstat (limited to 'include/scsi/scsi.h')
| -rw-r--r-- | include/scsi/scsi.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 8b4deca996ad..8fcb6e0e9e72 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h | |||
| @@ -114,6 +114,7 @@ struct scsi_cmnd; | |||
| 114 | #define READ_12 0xa8 | 114 | #define READ_12 0xa8 |
| 115 | #define WRITE_12 0xaa | 115 | #define WRITE_12 0xaa |
| 116 | #define WRITE_VERIFY_12 0xae | 116 | #define WRITE_VERIFY_12 0xae |
| 117 | #define VERIFY_12 0xaf | ||
| 117 | #define SEARCH_HIGH_12 0xb0 | 118 | #define SEARCH_HIGH_12 0xb0 |
| 118 | #define SEARCH_EQUAL_12 0xb1 | 119 | #define SEARCH_EQUAL_12 0xb1 |
| 119 | #define SEARCH_LOW_12 0xb2 | 120 | #define SEARCH_LOW_12 0xb2 |
| @@ -134,6 +135,7 @@ struct scsi_cmnd; | |||
| 134 | #define MO_SET_TARGET_PGS 0x0a | 135 | #define MO_SET_TARGET_PGS 0x0a |
| 135 | /* values for variable length command */ | 136 | /* values for variable length command */ |
| 136 | #define READ_32 0x09 | 137 | #define READ_32 0x09 |
| 138 | #define VERIFY_32 0x0a | ||
| 137 | #define WRITE_32 0x0b | 139 | #define WRITE_32 0x0b |
| 138 | #define WRITE_SAME_32 0x0d | 140 | #define WRITE_SAME_32 0x0d |
| 139 | 141 | ||
| @@ -149,10 +151,10 @@ struct scsi_cmnd; | |||
| 149 | 151 | ||
| 150 | /* defined in T10 SCSI Primary Commands-2 (SPC2) */ | 152 | /* defined in T10 SCSI Primary Commands-2 (SPC2) */ |
| 151 | struct scsi_varlen_cdb_hdr { | 153 | struct scsi_varlen_cdb_hdr { |
| 152 | u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */ | 154 | __u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */ |
| 153 | u8 control; | 155 | __u8 control; |
| 154 | u8 misc[5]; | 156 | __u8 misc[5]; |
| 155 | u8 additional_cdb_length; /* total cdb length - 8 */ | 157 | __u8 additional_cdb_length; /* total cdb length - 8 */ |
| 156 | __be16 service_action; | 158 | __be16 service_action; |
| 157 | /* service specific data follows */ | 159 | /* service specific data follows */ |
| 158 | }; | 160 | }; |
| @@ -423,6 +425,7 @@ static inline int scsi_is_wlun(unsigned int lun) | |||
| 423 | #define ADD_TO_MLQUEUE 0x2006 | 425 | #define ADD_TO_MLQUEUE 0x2006 |
| 424 | #define TIMEOUT_ERROR 0x2007 | 426 | #define TIMEOUT_ERROR 0x2007 |
| 425 | #define SCSI_RETURN_NOT_HANDLED 0x2008 | 427 | #define SCSI_RETURN_NOT_HANDLED 0x2008 |
| 428 | #define FAST_IO_FAIL 0x2009 | ||
| 426 | 429 | ||
| 427 | /* | 430 | /* |
| 428 | * Midlevel queue return values. | 431 | * Midlevel queue return values. |
