Changes in uspace/lib/scsi/include/scsi/spc.h [35b8bfe:ce25903] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/scsi/include/scsi/spc.h
r35b8bfe rce25903 42 42 /** SCSI command codes defined in SCSI-SPC */ 43 43 enum scsi_cmd_spc { 44 SCSI_CMD_INQUIRY = 0x12, 45 SCSI_CMD_REQUEST_SENSE = 0x03 44 SCSI_CMD_TEST_UNIT_READY = 0x00, 45 SCSI_CMD_REQUEST_SENSE = 0x03, 46 SCSI_CMD_INQUIRY = 0x12, 46 47 }; 47 48 … … 220 221 extern const char *scsi_get_sense_key_str(unsigned); 221 222 223 /** SCSI Test Unit Ready command */ 224 typedef struct { 225 /** Operation code (SCSI_CMD_TEST_UNIT_READY) */ 226 uint8_t op_code; 227 /** Reserved */ 228 uint32_t reserved; 229 /* Control */ 230 uint8_t control; 231 } __attribute__((packed)) scsi_cdb_test_unit_ready_t; 232 222 233 #endif 223 234
Note:
See TracChangeset
for help on using the changeset viewer.