diff options
Diffstat (limited to 'include/scsi/scsi.h')
-rw-r--r-- | include/scsi/scsi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 084478e14d24..8b4deca996ad 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h | |||
@@ -94,6 +94,7 @@ struct scsi_cmnd; | |||
94 | #define WRITE_LONG 0x3f | 94 | #define WRITE_LONG 0x3f |
95 | #define CHANGE_DEFINITION 0x40 | 95 | #define CHANGE_DEFINITION 0x40 |
96 | #define WRITE_SAME 0x41 | 96 | #define WRITE_SAME 0x41 |
97 | #define UNMAP 0x42 | ||
97 | #define READ_TOC 0x43 | 98 | #define READ_TOC 0x43 |
98 | #define LOG_SELECT 0x4c | 99 | #define LOG_SELECT 0x4c |
99 | #define LOG_SENSE 0x4d | 100 | #define LOG_SENSE 0x4d |
@@ -122,13 +123,19 @@ struct scsi_cmnd; | |||
122 | #define READ_16 0x88 | 123 | #define READ_16 0x88 |
123 | #define WRITE_16 0x8a | 124 | #define WRITE_16 0x8a |
124 | #define VERIFY_16 0x8f | 125 | #define VERIFY_16 0x8f |
126 | #define WRITE_SAME_16 0x93 | ||
125 | #define SERVICE_ACTION_IN 0x9e | 127 | #define SERVICE_ACTION_IN 0x9e |
126 | /* values for service action in */ | 128 | /* values for service action in */ |
127 | #define SAI_READ_CAPACITY_16 0x10 | 129 | #define SAI_READ_CAPACITY_16 0x10 |
130 | #define SAI_GET_LBA_STATUS 0x12 | ||
128 | /* values for maintenance in */ | 131 | /* values for maintenance in */ |
129 | #define MI_REPORT_TARGET_PGS 0x0a | 132 | #define MI_REPORT_TARGET_PGS 0x0a |
130 | /* values for maintenance out */ | 133 | /* values for maintenance out */ |
131 | #define MO_SET_TARGET_PGS 0x0a | 134 | #define MO_SET_TARGET_PGS 0x0a |
135 | /* values for variable length command */ | ||
136 | #define READ_32 0x09 | ||
137 | #define WRITE_32 0x0b | ||
138 | #define WRITE_SAME_32 0x0d | ||
132 | 139 | ||
133 | /* Values for T10/04-262r7 */ | 140 | /* Values for T10/04-262r7 */ |
134 | #define ATA_16 0x85 /* 16-byte pass-thru */ | 141 | #define ATA_16 0x85 /* 16-byte pass-thru */ |