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