revert between 56095 -> 55830 in arch
[AROS.git] / compiler / include / scsi / commands.h
blobc4758ab554c448cef3eb886e6e673863ef6bcd30
1 /* scsi/commands.h
3 Operation codes for SCSI-2 commands
5 30 Nov 94 Peter Urbanec Created file
6 10 Jan 95 Peter Urbanec Added SCSI_ prefix to all commands
7 31 Jan 95 Peter Urbanec Released to public
9 */
12 /* All device types */
14 #define SCSI_CHANGE_DEFINITION 0x40
15 #define SCSI_COMPARE 0x39
16 #define SCSI_COPY 0x18
17 #define SCSI_COPY_AND_VERIFY 0x3a
18 #define SCSI_INQUIRY 0x12
19 #define SCSI_LOG_SELECT 0x4c
20 #define SCSI_LOG_SENSE 0x4d
21 #define SCSI_MODE_SELECT_6 0x15
22 #define SCSI_MODE_SELECT_10 0x55
23 #define SCSI_MODE_SENSE_6 0x1a
24 #define SCSI_MODE_SENSE_10 0x5a
25 #define SCSI_READ_BUFFER 0x3c
26 #define SCSI_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
27 #define SCSI_REQUEST_SENSE 0x03
28 #define SCSI_SEND_DIAGNOSTIC 0x1d
29 #define SCSI_TEST_UNIT_READY 0x00
30 #define SCSI_WRITE_BUFFER 0x3b
33 /* Direct Access devices */
35 #define SCSI_DA_CHANGE_DEFINITION 0x40
36 #define SCSI_DA_COMPARE 0x39
37 #define SCSI_DA_COPY 0x18
38 #define SCSI_DA_COPY_AND_VERIFY 0x3a
39 #define SCSI_DA_FORMAT_UNIT 0x04
40 #define SCSI_DA_INQUIRY 0x12
41 #define SCSI_DA_LOCK_UNLOCK_CACHE 0x36
42 #define SCSI_DA_LOG_SELECT 0x4c
43 #define SCSI_DA_LOG_SENSE 0x4d
44 #define SCSI_DA_MODE_SELECT_6 0x15
45 #define SCSI_DA_MODE_SELECT_10 0x55
46 #define SCSI_DA_MODE_SENSE_6 0x1a
47 #define SCSI_DA_MODE_SENSE_10 0x5a
48 #define SCSI_DA_PRE_FETCH 0x34
49 #define SCSI_DA_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
50 #define SCSI_DA_READ_6 0x08
51 #define SCSI_DA_READ_10 0x28
52 #define SCSI_DA_READ_12 0xA8
53 #define SCSI_DA_READ_16 0x88
54 #define SCSI_DA_READ_BUFFER 0x3c
55 #define SCSI_DA_READ_CAPACITY 0x25
56 #define SCSI_DA_SERVICEACTIONIN 0x9e
57 #define SCSI_DA_READ_DEFECT_DATA 0x37
58 #define SCSI_DA_READ_LONG 0x3e
59 #define SCSI_DA_REASSIGN_BLOCKS 0x07
60 #define SCSI_DA_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
61 #define SCSI_DA_RELEASE 0x17
62 #define SCSI_DA_REQUEST_SENSE 0x03
63 #define SCSI_DA_RESERVE 0x16
64 #define SCSI_DA_REZERO_UNIT 0x01
65 #define SCSI_DA_SEARCH_DATA_EQUAL 0x31
66 #define SCSI_DA_SEARCH_DATA_HIGH 0x30
67 #define SCSI_DA_SEARCH_DATA_LOW 0x32
68 #define SCSI_DA_SEEK_6 0x0b
69 #define SCSI_DA_SEEK_10 0x2b
70 #define SCSI_DA_SEND_DIAGNOSTIC 0x1d
71 #define SCSI_DA_SET_LIMITS 0x33
72 #define SCSI_DA_START_STOP_UNIT 0x1b
73 #define SCSI_DA_SYNCHRONIZE_CACHE 0x35
74 #define SCSI_DA_TEST_UNIT_READY 0x00
75 #define SCSI_DA_UNMAP 0x42
76 #define SCSI_DA_VERIFY 0x2f
77 #define SCSI_DA_WRITE_6 0x0a
78 #define SCSI_DA_WRITE_10 0x2a
79 #define SCSI_DA_WRITE_12 0xaa
80 #define SCSI_DA_WRITE_16 0x8a
81 #define SCSI_DA_WRITE_AND_VERIFY_10 0x2e
82 #define SCSI_DA_WRITE_AND_VERIFY_16 0x8e
85 /* Sequential access devices */
87 #define SCSI_SA_CHANGE_DEFINITION 0x40
88 #define SCSI_SA_COMPARE 0x39
89 #define SCSI_SA_COPY 0x18
90 #define SCSI_SA_COPY_AND_VERIFY 0x3a
91 #define SCSI_SA_ERASE 0x19
92 #define SCSI_SA_INQUIRY 0x12
93 #define SCSI_SA_LOAD_UNLOAD 0x1b
94 #define SCSI_SA_LOCATE 0x2b
95 #define SCSI_SA_LOG_SELECT 0x4c
96 #define SCSI_SA_LOG_SENSE 0x4d
97 #define SCSI_SA_MODE_SELECT_6 0x15
98 #define SCSI_SA_MODE_SELECT_10 0x55
99 #define SCSI_SA_MODE_SENSE_6 0x1a
100 #define SCSI_SA_MODE_SENSE_10 0x5a
101 #define SCSI_SA_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
102 #define SCSI_SA_READ 0x08
103 #define SCSI_SA_READ_BLOCK_LIMITS 0x05
104 #define SCSI_SA_READ_BUFFER 0x3c
105 #define SCSI_SA_READ_POSITION 0x34
106 #define SCSI_SA_READ_REVERSE 0x0f
107 #define SCSI_SA_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
108 #define SCSI_SA_RECOVER_BUFFERED_DATA 0x14
109 #define SCSI_SA_RELEASE_UNIT 0x17
110 #define SCSI_SA_REQUEST_SENSE 0x03
111 #define SCSI_SA_RESERVE_UNIT 0x16
112 #define SCSI_SA_REWIND 0x01
113 #define SCSI_SA_SEND_DIAGNOSTIC 0x1d
114 #define SCSI_SA_SPACE 0x11
115 #define SCSI_SA_TEST_UNIT_READY 0x00
116 #define SCSI_SA_VERIFY 0x13
117 #define SCSI_SA_WRITE 0x0a
118 #define SCSI_SA_WRITE_BUFFER 0x3b
119 #define SCSI_SA_WRITE_FILEMARKS 0x10
122 /* Printer devices */
124 #define SCSI_PRT_CHANGE_DEFINITION 0x40
125 #define SCSI_PRT_COMPARE 0x39
126 #define SCSI_PRT_COPY 0x18
127 #define SCSI_PRT_COPY_AND_VERIFY 0x3a
128 #define SCSI_PRT_FORMAT 0x04
129 #define SCSI_PRT_INQUIRY 0x12
130 #define SCSI_PRT_LOG_SELECT 0x4c
131 #define SCSI_PRT_LOG_SENSE 0x4d
132 #define SCSI_PRT_MODE_SELECT_6 0x15
133 #define SCSI_PRT_MODE_SELECT_10 0x55
134 #define SCSI_PRT_MODE_SENSE_6 0x1a
135 #define SCSI_PRT_MODE_SENSE_10 0x5a
136 #define SCSI_PRT_PRINT 0x0a
137 #define SCSI_PRT_READ_BUFFER 0x3c
138 #define SCSI_PRT_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
139 #define SCSI_PRT_RECOVER_BUFFERED_DATA 0x14
140 #define SCSI_PRT_RELEASE_UNIT 0x17
141 #define SCSI_PRT_REQUEST_SENSE 0x03
142 #define SCSI_PRT_RESERVE_UNIT 0x16
143 #define SCSI_PRT_SEND_DIAGNOSTIC 0x1d
144 #define SCSI_PRT_SLEW_AND_PRINT 0x0b
145 #define SCSI_PRT_STOP_PRINT 0x1b
146 #define SCSI_PRT_SYNCHRONIZE_BUFFER 0x10
147 #define SCSI_PRT_TEST_UNIT_READY 0x00
148 #define SCSI_PRT_WRITE_BUFFER 0x3b
151 /* Processor devices */
153 #define SCSI_CPU_CHANGE_DEFINITION 0x40
154 #define SCSI_CPU_COMPARE 0x39
155 #define SCSI_CPU_COPY 0x18
156 #define SCSI_CPU_COPY_AND_VERIFY 0x3a
157 #define SCSI_CPU_INQUIRY 0x12
158 #define SCSI_CPU_LOG_SELECT 0x4c
159 #define SCSI_CPU_LOG_SENSE 0x4d
160 #define SCSI_CPU_READ_BUFFER 0x3c
161 #define SCSI_CPU_RECEIVE 0x08
162 #define SCSI_CPU_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
163 #define SCSI_CPU_REQUEST_SENSE 0x03
164 #define SCSI_CPU_SEND 0x0a
165 #define SCSI_CPU_SEND_DIAGNOSTIC 0x1d
166 #define SCSI_CPU_TEST_UNIT_READY 0x00
167 #define SCSI_CPU_WRITE_BUFFER 0x3b
170 /* Write Once devices */
172 #define SCSI_WO_CHANGE_DEFINITION 0x40
173 #define SCSI_WO_COMPARE 0x39
174 #define SCSI_WO_COPY 0x18
175 #define SCSI_WO_COPY_AND_VERIFY 0x3a
176 #define SCSI_WO_INQUIRY 0x12
177 #define SCSI_WO_LOCK_UNLOCK_CACHE 0x36
178 #define SCSI_WO_LOG_SELECT 0x4c
179 #define SCSI_WO_LOG_SENSE 0x4d
180 #define SCSI_WO_MEDIUM_SCAN 0x38
181 #define SCSI_WO_MODE_SELECT_6 0x15
182 #define SCSI_WO_MODE_SELECT_10 0x55
183 #define SCSI_WO_MODE_SENSE_6 0x1a
184 #define SCSI_WO_MODE_SENSE_10 0x5a
185 #define SCSI_WO_PRE_FETCH 0x34
186 #define SCSI_WO_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
187 #define SCSI_WO_READ_6 0x08
188 #define SCSI_WO_READ_10 0x28
189 #define SCSI_WO_READ_12 0xa8
190 #define SCSI_WO_READ_BUFFER 0x3c
191 #define SCSI_WO_READ_CAPACITY 0x25
192 #define SCSI_WO_READ_LONG 0x3e
193 #define SCSI_WO_REASSIGN_BLOCKS 0x07
194 #define SCSI_WO_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
195 #define SCSI_WO_RELEASE 0x17
196 #define SCSI_WO_REQUEST_SENSE 0x03
197 #define SCSI_WO_RESERVE 0x16
198 #define SCSI_WO_REZERO_UNIT 0x01
199 #define SCSI_WO_SEARCH_DATA_EQUAL_10 0x31
200 #define SCSI_WO_SEARCH_DATA_EQUAL_12 0xb1
201 #define SCSI_WO_SEARCH_DATA_HIGH_10 0x30
202 #define SCSI_WO_SEARCH_DATA_HIGH_12 0xb0
203 #define SCSI_WO_SEARCH_DATA_LOW_10 0x32
204 #define SCSI_WO_SEARCH_DATA_LOW_12 0xb2
205 #define SCSI_WO_SEEK_6 0x0b
206 #define SCSI_WO_SEEK_10 0x2b
207 #define SCSI_WO_SEND_DIAGNOSTIC 0x1d
208 #define SCSI_WO_SET_LIMITS_10 0x33
209 #define SCSI_WO_SET_LIMITS_12 0xb3
210 #define SCSI_WO_START_STOP_UNIT 0x1b
211 #define SCSI_WO_SYNCHRONIZE_CACHE 0x35
212 #define SCSI_WO_TEST_UNIT_READY 0x00
213 #define SCSI_WO_VERIFY_10 0x2f
214 #define SCSI_WO_VERIFY_12 0xaf
215 #define SCSI_WO_WRITE_6 0x0a
216 #define SCSI_WO_WRITE_10 0x2a
217 #define SCSI_WO_WRITE_12 0xaa
218 #define SCSI_WO_WRITE_AND_VERIFY_10 0x2e
219 #define SCSI_WO_WRITE_AND_VERIFY_12 0xae
220 #define SCSI_WO_WRITE_BUFFER 0x3b
221 #define SCSI_WO_WRITE_LONG 0x3f
224 /* CD-ROM devices */
226 #define SCSI_CD_BLANK 0xa1
227 #define SCSI_CD_CLOSE_TRACK 0x5b
228 //#define SCSI_CD_CHANGE_DEFINITION 0x40
229 //#define SCSI_CD_COMPARE 0x39
230 //#define SCSI_CD_COPY 0x18
231 //#define SCSI_CD_COPY_AND_VERIFY 0x3a
232 #define SCSI_CD_ERASE 0x2c
233 #define SCSI_CD_FORMAT_UNIT 0x04
234 #define SCSI_CD_GET_CONFIGURATION 0x46
235 #define SCSI_CD_GET_EVENT_STATUS_NOTIFICATION 0x4a
236 #define SCSI_CD_GET_PERFORMANCE 0xac
237 #define SCSI_CD_INQUIRY 0x12
238 #define SCSI_CD_LOAD_UNLOAD_MEDIUM 0xa6
239 //#define SCSI_CD_LOCK_UNLOCK_CACHE 0x36
240 //#define SCSI_CD_LOG_SELECT 0x4c
241 //#define SCSI_CD_LOG_SENSE 0x4d
242 #define SCSI_CD_MECHANISM_STATUS 0xbd
243 //#define SCSI_CD_MODE_SELECT_6 0x15
244 #define SCSI_CD_MODE_SELECT_10 0x55
245 //#define SCSI_CD_MODE_SENSE_6 0x1a
246 #define SCSI_CD_MODE_SENSE_10 0x5a
247 #define SCSI_CD_PAUSE_RESUME 0x4b
248 #define SCSI_CD_PLAY_AUDIO_10 0x45
249 #define SCSI_CD_PLAY_AUDIO_12 0xa5
250 #define SCSI_CD_PLAY_AUDIO_MSF 0x47
251 #define SCSI_CD_PLAY_AUDIO_TRACK_INDEX 0x48
252 #define SCSI_CD_PLAY_TRACK_RELATIVE_10 0x49
253 #define SCSI_CD_PLAY_TRACK_RELATIVE_12 0xa9
254 #define SCSI_CD_PRE_FETCH 0x34
255 #define SCSI_CD_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
256 #define SCSI_CD_READ_6 0x08
257 #define SCSI_CD_READ_10 0x28
258 #define SCSI_CD_READ_12 0xa8
259 #define SCSI_CD_READ_BUFFER 0x3c
260 #define SCSI_CD_READ_CD_ROM_CAPACITY 0x25
261 #define SCSI_CD_READ_HEADER 0x44
262 #define SCSI_CD_READ_LONG 0x3e
263 #define SCSI_CD_READ_SUB_CHANNEL 0x42
264 #define SCSI_CD_READ_TOC 0x43
265 #define SCSI_CD_RECEIVE_DIAGNOSTIC_RESULT 0x1c
266 #define SCSI_CD_RELEASE 0x17
267 #define SCSI_CD_REQUEST_SENSE 0x03
268 #define SCSI_CD_RESERVE 0x16
269 #define SCSI_CD_REZERO_UNIT 0x01
270 #define SCSI_CD_SEARCH_DATA_EQUAL_10 0x31
271 #define SCSI_CD_SEARCH_DATA_EQUAL_12 0xb1
272 #define SCSI_CD_SEARCH_DATA_HIGH_10 0x30
273 #define SCSI_CD_SEARCH_DATA_HIGH_12 0xb0
274 #define SCSI_CD_SEARCH_DATA_LOW_10 0x32
275 #define SCSI_CD_SEARCH_DATA_LOW_12 0xb2
276 #define SCSI_CD_SEEK_6 0x0b
277 #define SCSI_CD_SEEK_10 0x2b
278 #define SCSI_CD_SEND_DIAGNOSTIC 0x1d
279 #define SCSI_CD_SET_LIMITS_10 0x33
280 #define SCSI_CD_SET_LIMITS_12 0xb3
281 #define SCSI_CD_START_STOP_UNIT 0x1b
282 #define SCSI_CD_SYNCHRONIZE_CACHE 0x35
283 #define SCSI_CD_TEST_UNIT_READY 0x00
284 #define SCSI_CD_VERIFY_10 0x2f
285 #define SCSI_CD_VERIFY_12 0xaf
286 #define SCSI_CD_WRITE_BUFFER 0x3b
289 /* Scanner devices */
291 #define SCSI_SC_CHANGE_DEFINITION 0x40
292 #define SCSI_SC_COMPARE 0x39
293 #define SCSI_SC_COPY 0x18
294 #define SCSI_SC_COPY_AND_VERIFY 0x3a
295 #define SCSI_SC_GET_DATA_BUFFER_STATUS 0x34
296 #define SCSI_SC_GET_WINDOW 0x25
297 #define SCSI_SC_INQUIRY 0x12
298 #define SCSI_SC_LOG_SELECT 0x4c
299 #define SCSI_SC_LOG_SENSE 0x4d
300 #define SCSI_SC_MODE_SELECT_6 0x15
301 #define SCSI_SC_MODE_SELECT_10 0x55
302 #define SCSI_SC_MODE_SENSE_6 0x1a
303 #define SCSI_SC_MODE_SENSE_10 0x5a
304 #define SCSI_SC_OBJECT_POSITION 0x31
305 #define SCSI_SC_READ 0x28
306 #define SCSI_SC_READ_BUFFER 0x3c
307 #define SCSI_SC_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
308 #define SCSI_SC_RELEASE_UNIT 0x17
309 #define SCSI_SC_REQUEST_SENSE 0x03
310 #define SCSI_SC_RESERVE_UNIT 0x16
311 #define SCSI_SC_SCAN 0x1b
312 #define SCSI_SC_SET_WINDOW 0x24
313 #define SCSI_SC_SEND 0x2a
314 #define SCSI_SC_SEND_DIAGNOSTIC 0x1d
315 #define SCSI_SC_TEST_UNIT_READY 0x00
316 #define SCSI_SC_WRITE_BUFFER 0x3b
319 /* Optical memory devices */
321 #define SCSI_OM_CHANGE_DEFINITION 0x40
322 #define SCSI_OM_COMPARE 0x39
323 #define SCSI_OM_COPY 0x18
324 #define SCSI_OM_COPY_AND_VERIFY 0x3a
325 #define SCSI_OM_ERASE_10 0x2c
326 #define SCSI_OM_ERASE_12 0xac
327 #define SCSI_OM_FORMAT_UNIT 0x04
328 #define SCSI_OM_INQUIRY 0x12
329 #define SCSI_OM_LOCK_UNLOCK_CACHE 0x36
330 #define SCSI_OM_LOG_SELECT 0x4c
331 #define SCSI_OM_LOG_SENSE 0x4d
332 #define SCSI_OM_MEDIUM_SCAN 0x38
333 #define SCSI_OM_MODE_SELECT_6 0x15
334 #define SCSI_OM_MODE_SELECT_10 0x55
335 #define SCSI_OM_MODE_SENSE_6 0x1a
336 #define SCSI_OM_MODE_SENSE_10 0x5a
337 #define SCSI_OM_PRE_FETCH 0x34
338 #define SCSI_OM_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
339 #define SCSI_OM_READ_6 0x08
340 #define SCSI_OM_READ_10 0x28
341 #define SCSI_OM_READ_12 0xa8
342 #define SCSI_OM_READ_BUFFER 0x3c
343 #define SCSI_OM_READ_CAPACITY 0x25
344 #define SCSI_OM_READ_DEFECT_DATA_10 0x37
345 #define SCSI_OM_READ_DEFECT_DATA_12 0xb7
346 #define SCSI_OM_READ_GENERATION 0x29
347 #define SCSI_OM_READ_LONG 0x3e
348 #define SCSI_OM_READ_UPDATED_BLOCK 0x2d
349 #define SCSI_OM_REASSIGN_BLOCKS 0x07
350 #define SCSI_OM_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
351 #define SCSI_OM_RELEASE 0x17
352 #define SCSI_OM_REQUEST_SENSE 0x03
353 #define SCSI_OM_RESERVE 0x16
354 #define SCSI_OM_REZERO_UNIT 0x01
355 #define SCSI_OM_SEARCH_DATA_EQUAL_10 0x31
356 #define SCSI_OM_SEARCH_DATA_EQUAL_12 0xb1
357 #define SCSI_OM_SEARCH_DATA_HIGH_10 0x30
358 #define SCSI_OM_SEARCH_DATA_HIGH_12 0xb0
359 #define SCSI_OM_SEARCH_DATA_LOW_10 0x32
360 #define SCSI_OM_SEARCH_DATA_LOW_12 0xb2
361 #define SCSI_OM_SEEK_6 0x0b
362 #define SCSI_OM_SEEK_10 0x2b
363 #define SCSI_OM_SEND_DIAGNOSTIC 0x1d
364 #define SCSI_OM_SET_LIMITS_10 0x33
365 #define SCSI_OM_SET_LIMITS_12 0xb3
366 #define SCSI_OM_START_STOP_UNIT 0x1b
367 #define SCSI_OM_SYNCHRONIZE_CACHE 0x35
368 #define SCSI_OM_TEST_UNIT_READY 0x00
369 #define SCSI_OM_UPDATE_BLOCK 0x3d
370 #define SCSI_OM_VERIFY_10 0x2f
371 #define SCSI_OM_VERIFY_12 0xaf
372 #define SCSI_OM_WRITE_6 0x0a
373 #define SCSI_OM_WRITE_10 0x2a
374 #define SCSI_OM_WRITE_12 0xaa
375 #define SCSI_OM_WRITE_AND_VERIFY_10 0x2e
376 #define SCSI_OM_WRITE_AND_VERIFY_12 0xae
377 #define SCSI_OM_WRITE_BUFFER 0x3b
378 #define SCSI_OM_WRITE_LONG 0x3f
381 /* Medium changer devices */
383 #define SCSI_MC_CHANGE_DEFINITION 0x40
384 #define SCSI_MC_EXCHANGE_MEDIUM 0xa6
385 #define SCSI_MC_INITIALIZE_ELEMENT_STATUS 0x07
386 #define SCSI_MC_INQUIRY 0x12
387 #define SCSI_MC_LOG_SELECT 0x4c
388 #define SCSI_MC_LOG_SENSE 0x4d
389 #define SCSI_MC_MODE_SELECT_6 0x15
390 #define SCSI_MC_MODE_SELECT_10 0x55
391 #define SCSI_MC_MODE_SENSE_6 0x1a
392 #define SCSI_MC_MODE_SENSE_10 0x5a
393 #define SCSI_MC_MOVE_MEDIUM 0xa5
394 #define SCSI_MC_POSITION_TO_ELEMENT 0x2b
395 #define SCSI_MC_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
396 #define SCSI_MC_READ_BUFFER 0x3c
397 #define SCSI_MC_READ_ELEMENT_STATUS 0xb8
398 #define SCSI_MC_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
399 #define SCSI_MC_RELEASE 0x17
400 #define SCSI_MC_REQUEST_VOLUME_ELEMENT_ADDRESS 0xb5
401 #define SCSI_MC_REQUEST_SENSE 0x03
402 #define SCSI_MC_RESERVE 0x16
403 #define SCSI_MC_REZERO_UNIT 0x01
404 #define SCSI_MC_SEND_DIAGNOSTIC 0x1d
405 #define SCSI_MC_SEND_VOLUME_TAG 0xb6
406 #define SCSI_MC_TEST_UNIT_READY 0x00
407 #define SCSI_MC_WRITE_BUFFER 0x3b
410 /* Communications devices */
412 #define SCSI_COM_CHANGE_DEFINITION 0x40
413 #define SCSI_COM_GET_MESSAGE_6 0x08
414 #define SCSI_COM_GET_MESSAGE_10 0x28
415 #define SCSI_COM_GET_MESSAGE_12 0xa8
416 #define SCSI_COM_INQUIRY 0x12
417 #define SCSI_COM_LOG_SELECT 0x4c
418 #define SCSI_COM_LOG_SENSE 0x4d
419 #define SCSI_COM_MODE_SELECT_6 0x15
420 #define SCSI_COM_MODE_SELECT_10 0x55
421 #define SCSI_COM_MODE_SENSE_6 0x1a
422 #define SCSI_COM_MODE_SENSE_10 0x5a
423 #define SCSI_COM_READ_BUFFER 0x3c
424 #define SCSI_COM_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
425 #define SCSI_COM_REQUEST_SENSE 0x03
426 #define SCSI_COM_SEND_DIAGNOSTIC 0x1d
427 #define SCSI_COM_SEND_MESSAGE_6 0x0a
428 #define SCSI_COM_SEND_MESSAGE_10 0x2a
429 #define SCSI_COM_SEND_MESSAGE_12 0xaa
430 #define SCSI_COM_TEST_UNIT_READY 0x00
431 #define SCSI_COM_WRITE_BUFFER 0x3b