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
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_VERIFY 0x2f
76 #define SCSI_DA_WRITE_6 0x0a
77 #define SCSI_DA_WRITE_10 0x2a
78 #define SCSI_DA_WRITE_12 0xaa
79 #define SCSI_DA_WRITE_16 0x8a
80 #define SCSI_DA_WRITE_AND_VERIFY_10 0x2e
81 #define SCSI_DA_WRITE_AND_VERIFY_16 0x8e
84 /* Sequential access devices */
86 #define SCSI_SA_CHANGE_DEFINITION 0x40
87 #define SCSI_SA_COMPARE 0x39
88 #define SCSI_SA_COPY 0x18
89 #define SCSI_SA_COPY_AND_VERIFY 0x3a
90 #define SCSI_SA_ERASE 0x19
91 #define SCSI_SA_INQUIRY 0x12
92 #define SCSI_SA_LOAD_UNLOAD 0x1b
93 #define SCSI_SA_LOCATE 0x2b
94 #define SCSI_SA_LOG_SELECT 0x4c
95 #define SCSI_SA_LOG_SENSE 0x4d
96 #define SCSI_SA_MODE_SELECT_6 0x15
97 #define SCSI_SA_MODE_SELECT_10 0x55
98 #define SCSI_SA_MODE_SENSE_6 0x1a
99 #define SCSI_SA_MODE_SENSE_10 0x5a
100 #define SCSI_SA_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
101 #define SCSI_SA_READ 0x08
102 #define SCSI_SA_READ_BLOCK_LIMITS 0x05
103 #define SCSI_SA_READ_BUFFER 0x3c
104 #define SCSI_SA_READ_POSITION 0x34
105 #define SCSI_SA_READ_REVERSE 0x0f
106 #define SCSI_SA_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
107 #define SCSI_SA_RECOVER_BUFFERED_DATA 0x14
108 #define SCSI_SA_RELEASE_UNIT 0x17
109 #define SCSI_SA_REQUEST_SENSE 0x03
110 #define SCSI_SA_RESERVE_UNIT 0x16
111 #define SCSI_SA_REWIND 0x01
112 #define SCSI_SA_SEND_DIAGNOSTIC 0x1d
113 #define SCSI_SA_SPACE 0x11
114 #define SCSI_SA_TEST_UNIT_READY 0x00
115 #define SCSI_SA_VERIFY 0x13
116 #define SCSI_SA_WRITE 0x0a
117 #define SCSI_SA_WRITE_BUFFER 0x3b
118 #define SCSI_SA_WRITE_FILEMARKS 0x10
121 /* Printer devices */
123 #define SCSI_PRT_CHANGE_DEFINITION 0x40
124 #define SCSI_PRT_COMPARE 0x39
125 #define SCSI_PRT_COPY 0x18
126 #define SCSI_PRT_COPY_AND_VERIFY 0x3a
127 #define SCSI_PRT_FORMAT 0x04
128 #define SCSI_PRT_INQUIRY 0x12
129 #define SCSI_PRT_LOG_SELECT 0x4c
130 #define SCSI_PRT_LOG_SENSE 0x4d
131 #define SCSI_PRT_MODE_SELECT_6 0x15
132 #define SCSI_PRT_MODE_SELECT_10 0x55
133 #define SCSI_PRT_MODE_SENSE_6 0x1a
134 #define SCSI_PRT_MODE_SENSE_10 0x5a
135 #define SCSI_PRT_PRINT 0x0a
136 #define SCSI_PRT_READ_BUFFER 0x3c
137 #define SCSI_PRT_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
138 #define SCSI_PRT_RECOVER_BUFFERED_DATA 0x14
139 #define SCSI_PRT_RELEASE_UNIT 0x17
140 #define SCSI_PRT_REQUEST_SENSE 0x03
141 #define SCSI_PRT_RESERVE_UNIT 0x16
142 #define SCSI_PRT_SEND_DIAGNOSTIC 0x1d
143 #define SCSI_PRT_SLEW_AND_PRINT 0x0b
144 #define SCSI_PRT_STOP_PRINT 0x1b
145 #define SCSI_PRT_SYNCHRONIZE_BUFFER 0x10
146 #define SCSI_PRT_TEST_UNIT_READY 0x00
147 #define SCSI_PRT_WRITE_BUFFER 0x3b
150 /* Processor devices */
152 #define SCSI_CPU_CHANGE_DEFINITION 0x40
153 #define SCSI_CPU_COMPARE 0x39
154 #define SCSI_CPU_COPY 0x18
155 #define SCSI_CPU_COPY_AND_VERIFY 0x3a
156 #define SCSI_CPU_INQUIRY 0x12
157 #define SCSI_CPU_LOG_SELECT 0x4c
158 #define SCSI_CPU_LOG_SENSE 0x4d
159 #define SCSI_CPU_READ_BUFFER 0x3c
160 #define SCSI_CPU_RECEIVE 0x08
161 #define SCSI_CPU_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
162 #define SCSI_CPU_REQUEST_SENSE 0x03
163 #define SCSI_CPU_SEND 0x0a
164 #define SCSI_CPU_SEND_DIAGNOSTIC 0x1d
165 #define SCSI_CPU_TEST_UNIT_READY 0x00
166 #define SCSI_CPU_WRITE_BUFFER 0x3b
169 /* Write Once devices */
171 #define SCSI_WO_CHANGE_DEFINITION 0x40
172 #define SCSI_WO_COMPARE 0x39
173 #define SCSI_WO_COPY 0x18
174 #define SCSI_WO_COPY_AND_VERIFY 0x3a
175 #define SCSI_WO_INQUIRY 0x12
176 #define SCSI_WO_LOCK_UNLOCK_CACHE 0x36
177 #define SCSI_WO_LOG_SELECT 0x4c
178 #define SCSI_WO_LOG_SENSE 0x4d
179 #define SCSI_WO_MEDIUM_SCAN 0x38
180 #define SCSI_WO_MODE_SELECT_6 0x15
181 #define SCSI_WO_MODE_SELECT_10 0x55
182 #define SCSI_WO_MODE_SENSE_6 0x1a
183 #define SCSI_WO_MODE_SENSE_10 0x5a
184 #define SCSI_WO_PRE_FETCH 0x34
185 #define SCSI_WO_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
186 #define SCSI_WO_READ_6 0x08
187 #define SCSI_WO_READ_10 0x28
188 #define SCSI_WO_READ_12 0xa8
189 #define SCSI_WO_READ_BUFFER 0x3c
190 #define SCSI_WO_READ_CAPACITY 0x25
191 #define SCSI_WO_READ_LONG 0x3e
192 #define SCSI_WO_REASSIGN_BLOCKS 0x07
193 #define SCSI_WO_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
194 #define SCSI_WO_RELEASE 0x17
195 #define SCSI_WO_REQUEST_SENSE 0x03
196 #define SCSI_WO_RESERVE 0x16
197 #define SCSI_WO_REZERO_UNIT 0x01
198 #define SCSI_WO_SEARCH_DATA_EQUAL_10 0x31
199 #define SCSI_WO_SEARCH_DATA_EQUAL_12 0xb1
200 #define SCSI_WO_SEARCH_DATA_HIGH_10 0x30
201 #define SCSI_WO_SEARCH_DATA_HIGH_12 0xb0
202 #define SCSI_WO_SEARCH_DATA_LOW_10 0x32
203 #define SCSI_WO_SEARCH_DATA_LOW_12 0xb2
204 #define SCSI_WO_SEEK_6 0x0b
205 #define SCSI_WO_SEEK_10 0x2b
206 #define SCSI_WO_SEND_DIAGNOSTIC 0x1d
207 #define SCSI_WO_SET_LIMITS_10 0x33
208 #define SCSI_WO_SET_LIMITS_12 0xb3
209 #define SCSI_WO_START_STOP_UNIT 0x1b
210 #define SCSI_WO_SYNCHRONIZE_CACHE 0x35
211 #define SCSI_WO_TEST_UNIT_READY 0x00
212 #define SCSI_WO_VERIFY_10 0x2f
213 #define SCSI_WO_VERIFY_12 0xaf
214 #define SCSI_WO_WRITE_6 0x0a
215 #define SCSI_WO_WRITE_10 0x2a
216 #define SCSI_WO_WRITE_12 0xaa
217 #define SCSI_WO_WRITE_AND_VERIFY_10 0x2e
218 #define SCSI_WO_WRITE_AND_VERIFY_12 0xae
219 #define SCSI_WO_WRITE_BUFFER 0x3b
220 #define SCSI_WO_WRITE_LONG 0x3f
225 #define SCSI_CD_BLANK 0xa1
226 #define SCSI_CD_CLOSE_TRACK 0x5b
227 //#define SCSI_CD_CHANGE_DEFINITION 0x40
228 //#define SCSI_CD_COMPARE 0x39
229 //#define SCSI_CD_COPY 0x18
230 //#define SCSI_CD_COPY_AND_VERIFY 0x3a
231 #define SCSI_CD_ERASE 0x2c
232 #define SCSI_CD_FORMAT_UNIT 0x04
233 #define SCSI_CD_GET_CONFIGURATION 0x46
234 #define SCSI_CD_GET_EVENT_STATUS_NOTIFICATION 0x4a
235 #define SCSI_CD_GET_PERFORMANCE 0xac
236 #define SCSI_CD_INQUIRY 0x12
237 #define SCSI_CD_LOAD_UNLOAD_MEDIUM 0xa6
238 //#define SCSI_CD_LOCK_UNLOCK_CACHE 0x36
239 //#define SCSI_CD_LOG_SELECT 0x4c
240 //#define SCSI_CD_LOG_SENSE 0x4d
241 #define SCSI_CD_MECHANISM_STATUS 0xbd
242 //#define SCSI_CD_MODE_SELECT_6 0x15
243 #define SCSI_CD_MODE_SELECT_10 0x55
244 //#define SCSI_CD_MODE_SENSE_6 0x1a
245 #define SCSI_CD_MODE_SENSE_10 0x5a
246 #define SCSI_CD_PAUSE_RESUME 0x4b
247 #define SCSI_CD_PLAY_AUDIO_10 0x45
248 #define SCSI_CD_PLAY_AUDIO_12 0xa5
249 #define SCSI_CD_PLAY_AUDIO_MSF 0x47
250 #define SCSI_CD_PLAY_AUDIO_TRACK_INDEX 0x48
251 #define SCSI_CD_PLAY_TRACK_RELATIVE_10 0x49
252 #define SCSI_CD_PLAY_TRACK_RELATIVE_12 0xa9
253 #define SCSI_CD_PRE_FETCH 0x34
254 #define SCSI_CD_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
255 #define SCSI_CD_READ_6 0x08
256 #define SCSI_CD_READ_10 0x28
257 #define SCSI_CD_READ_12 0xa8
258 #define SCSI_CD_READ_BUFFER 0x3c
259 #define SCSI_CD_READ_CD_ROM_CAPACITY 0x25
260 #define SCSI_CD_READ_HEADER 0x44
261 #define SCSI_CD_READ_LONG 0x3e
262 #define SCSI_CD_READ_SUB_CHANNEL 0x42
263 #define SCSI_CD_READ_TOC 0x43
264 #define SCSI_CD_RECEIVE_DIAGNOSTIC_RESULT 0x1c
265 #define SCSI_CD_RELEASE 0x17
266 #define SCSI_CD_REQUEST_SENSE 0x03
267 #define SCSI_CD_RESERVE 0x16
268 #define SCSI_CD_REZERO_UNIT 0x01
269 #define SCSI_CD_SEARCH_DATA_EQUAL_10 0x31
270 #define SCSI_CD_SEARCH_DATA_EQUAL_12 0xb1
271 #define SCSI_CD_SEARCH_DATA_HIGH_10 0x30
272 #define SCSI_CD_SEARCH_DATA_HIGH_12 0xb0
273 #define SCSI_CD_SEARCH_DATA_LOW_10 0x32
274 #define SCSI_CD_SEARCH_DATA_LOW_12 0xb2
275 #define SCSI_CD_SEEK_6 0x0b
276 #define SCSI_CD_SEEK_10 0x2b
277 #define SCSI_CD_SEND_DIAGNOSTIC 0x1d
278 #define SCSI_CD_SET_LIMITS_10 0x33
279 #define SCSI_CD_SET_LIMITS_12 0xb3
280 #define SCSI_CD_START_STOP_UNIT 0x1b
281 #define SCSI_CD_SYNCHRONIZE_CACHE 0x35
282 #define SCSI_CD_TEST_UNIT_READY 0x00
283 #define SCSI_CD_VERIFY_10 0x2f
284 #define SCSI_CD_VERIFY_12 0xaf
285 #define SCSI_CD_WRITE_BUFFER 0x3b
288 /* Scanner devices */
290 #define SCSI_SC_CHANGE_DEFINITION 0x40
291 #define SCSI_SC_COMPARE 0x39
292 #define SCSI_SC_COPY 0x18
293 #define SCSI_SC_COPY_AND_VERIFY 0x3a
294 #define SCSI_SC_GET_DATA_BUFFER_STATUS 0x34
295 #define SCSI_SC_GET_WINDOW 0x25
296 #define SCSI_SC_INQUIRY 0x12
297 #define SCSI_SC_LOG_SELECT 0x4c
298 #define SCSI_SC_LOG_SENSE 0x4d
299 #define SCSI_SC_MODE_SELECT_6 0x15
300 #define SCSI_SC_MODE_SELECT_10 0x55
301 #define SCSI_SC_MODE_SENSE_6 0x1a
302 #define SCSI_SC_MODE_SENSE_10 0x5a
303 #define SCSI_SC_OBJECT_POSITION 0x31
304 #define SCSI_SC_READ 0x28
305 #define SCSI_SC_READ_BUFFER 0x3c
306 #define SCSI_SC_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
307 #define SCSI_SC_RELEASE_UNIT 0x17
308 #define SCSI_SC_REQUEST_SENSE 0x03
309 #define SCSI_SC_RESERVE_UNIT 0x16
310 #define SCSI_SC_SCAN 0x1b
311 #define SCSI_SC_SET_WINDOW 0x24
312 #define SCSI_SC_SEND 0x2a
313 #define SCSI_SC_SEND_DIAGNOSTIC 0x1d
314 #define SCSI_SC_TEST_UNIT_READY 0x00
315 #define SCSI_SC_WRITE_BUFFER 0x3b
318 /* Optical memory devices */
320 #define SCSI_OM_CHANGE_DEFINITION 0x40
321 #define SCSI_OM_COMPARE 0x39
322 #define SCSI_OM_COPY 0x18
323 #define SCSI_OM_COPY_AND_VERIFY 0x3a
324 #define SCSI_OM_ERASE_10 0x2c
325 #define SCSI_OM_ERASE_12 0xac
326 #define SCSI_OM_FORMAT_UNIT 0x04
327 #define SCSI_OM_INQUIRY 0x12
328 #define SCSI_OM_LOCK_UNLOCK_CACHE 0x36
329 #define SCSI_OM_LOG_SELECT 0x4c
330 #define SCSI_OM_LOG_SENSE 0x4d
331 #define SCSI_OM_MEDIUM_SCAN 0x38
332 #define SCSI_OM_MODE_SELECT_6 0x15
333 #define SCSI_OM_MODE_SELECT_10 0x55
334 #define SCSI_OM_MODE_SENSE_6 0x1a
335 #define SCSI_OM_MODE_SENSE_10 0x5a
336 #define SCSI_OM_PRE_FETCH 0x34
337 #define SCSI_OM_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
338 #define SCSI_OM_READ_6 0x08
339 #define SCSI_OM_READ_10 0x28
340 #define SCSI_OM_READ_12 0xa8
341 #define SCSI_OM_READ_BUFFER 0x3c
342 #define SCSI_OM_READ_CAPACITY 0x25
343 #define SCSI_OM_READ_DEFECT_DATA_10 0x37
344 #define SCSI_OM_READ_DEFECT_DATA_12 0xb7
345 #define SCSI_OM_READ_GENERATION 0x29
346 #define SCSI_OM_READ_LONG 0x3e
347 #define SCSI_OM_READ_UPDATED_BLOCK 0x2d
348 #define SCSI_OM_REASSIGN_BLOCKS 0x07
349 #define SCSI_OM_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
350 #define SCSI_OM_RELEASE 0x17
351 #define SCSI_OM_REQUEST_SENSE 0x03
352 #define SCSI_OM_RESERVE 0x16
353 #define SCSI_OM_REZERO_UNIT 0x01
354 #define SCSI_OM_SEARCH_DATA_EQUAL_10 0x31
355 #define SCSI_OM_SEARCH_DATA_EQUAL_12 0xb1
356 #define SCSI_OM_SEARCH_DATA_HIGH_10 0x30
357 #define SCSI_OM_SEARCH_DATA_HIGH_12 0xb0
358 #define SCSI_OM_SEARCH_DATA_LOW_10 0x32
359 #define SCSI_OM_SEARCH_DATA_LOW_12 0xb2
360 #define SCSI_OM_SEEK_6 0x0b
361 #define SCSI_OM_SEEK_10 0x2b
362 #define SCSI_OM_SEND_DIAGNOSTIC 0x1d
363 #define SCSI_OM_SET_LIMITS_10 0x33
364 #define SCSI_OM_SET_LIMITS_12 0xb3
365 #define SCSI_OM_START_STOP_UNIT 0x1b
366 #define SCSI_OM_SYNCHRONIZE_CACHE 0x35
367 #define SCSI_OM_TEST_UNIT_READY 0x00
368 #define SCSI_OM_UPDATE_BLOCK 0x3d
369 #define SCSI_OM_VERIFY_10 0x2f
370 #define SCSI_OM_VERIFY_12 0xaf
371 #define SCSI_OM_WRITE_6 0x0a
372 #define SCSI_OM_WRITE_10 0x2a
373 #define SCSI_OM_WRITE_12 0xaa
374 #define SCSI_OM_WRITE_AND_VERIFY_10 0x2e
375 #define SCSI_OM_WRITE_AND_VERIFY_12 0xae
376 #define SCSI_OM_WRITE_BUFFER 0x3b
377 #define SCSI_OM_WRITE_LONG 0x3f
380 /* Medium changer devices */
382 #define SCSI_MC_CHANGE_DEFINITION 0x40
383 #define SCSI_MC_EXCHANGE_MEDIUM 0xa6
384 #define SCSI_MC_INITIALIZE_ELEMENT_STATUS 0x07
385 #define SCSI_MC_INQUIRY 0x12
386 #define SCSI_MC_LOG_SELECT 0x4c
387 #define SCSI_MC_LOG_SENSE 0x4d
388 #define SCSI_MC_MODE_SELECT_6 0x15
389 #define SCSI_MC_MODE_SELECT_10 0x55
390 #define SCSI_MC_MODE_SENSE_6 0x1a
391 #define SCSI_MC_MODE_SENSE_10 0x5a
392 #define SCSI_MC_MOVE_MEDIUM 0xa5
393 #define SCSI_MC_POSITION_TO_ELEMENT 0x2b
394 #define SCSI_MC_PREVENT_ALLOW_MEDIUM_REMOVAL 0x1e
395 #define SCSI_MC_READ_BUFFER 0x3c
396 #define SCSI_MC_READ_ELEMENT_STATUS 0xb8
397 #define SCSI_MC_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
398 #define SCSI_MC_RELEASE 0x17
399 #define SCSI_MC_REQUEST_VOLUME_ELEMENT_ADDRESS 0xb5
400 #define SCSI_MC_REQUEST_SENSE 0x03
401 #define SCSI_MC_RESERVE 0x16
402 #define SCSI_MC_REZERO_UNIT 0x01
403 #define SCSI_MC_SEND_DIAGNOSTIC 0x1d
404 #define SCSI_MC_SEND_VOLUME_TAG 0xb6
405 #define SCSI_MC_TEST_UNIT_READY 0x00
406 #define SCSI_MC_WRITE_BUFFER 0x3b
409 /* Communications devices */
411 #define SCSI_COM_CHANGE_DEFINITION 0x40
412 #define SCSI_COM_GET_MESSAGE_6 0x08
413 #define SCSI_COM_GET_MESSAGE_10 0x28
414 #define SCSI_COM_GET_MESSAGE_12 0xa8
415 #define SCSI_COM_INQUIRY 0x12
416 #define SCSI_COM_LOG_SELECT 0x4c
417 #define SCSI_COM_LOG_SENSE 0x4d
418 #define SCSI_COM_MODE_SELECT_6 0x15
419 #define SCSI_COM_MODE_SELECT_10 0x55
420 #define SCSI_COM_MODE_SENSE_6 0x1a
421 #define SCSI_COM_MODE_SENSE_10 0x5a
422 #define SCSI_COM_READ_BUFFER 0x3c
423 #define SCSI_COM_RECEIVE_DIAGNOSTIC_RESULTS 0x1c
424 #define SCSI_COM_REQUEST_SENSE 0x03
425 #define SCSI_COM_SEND_DIAGNOSTIC 0x1d
426 #define SCSI_COM_SEND_MESSAGE_6 0x0a
427 #define SCSI_COM_SEND_MESSAGE_10 0x2a
428 #define SCSI_COM_SEND_MESSAGE_12 0xaa
429 #define SCSI_COM_TEST_UNIT_READY 0x00
430 #define SCSI_COM_WRITE_BUFFER 0x3b