Changeset ce25903 in mainline for uspace/lib/scsi/include/scsi/spc.h
- Timestamp:
- 2015-07-03T20:02:58Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 34c9cfc
- Parents:
- 8fc61c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/scsi/include/scsi/spc.h
r8fc61c8 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.