Changes in uspace/lib/scsi/include/scsi/sbc.h [dd8b6a8:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/scsi/include/scsi/sbc.h
rdd8b6a8 r9d58539 49 49 SCSI_CMD_READ_CAPACITY_10 = 0x25, 50 50 SCSI_CMD_READ_CAPACITY_16 = 0x9e, 51 52 SCSI_CMD_SYNC_CACHE_10 = 0x35,53 SCSI_CMD_SYNC_CACHE_16 = 0x91,54 51 55 52 SCSI_CMD_WRITE_6 = 0x0a, … … 134 131 } scsi_read_capacity_10_data_t; 135 132 136 /** SCSI Synchronize Cache (10) command */137 typedef struct {138 /** Operation code (SCSI_CMD_SYNC_CACHE_10) */139 uint8_t op_code;140 /** Reserved, Sync_NV, Immed, Reserved */141 uint8_t flags;142 /** Logical block address */143 uint32_t lba;144 /** Reserved, Group Number */145 uint8_t group_no;146 /** Number of Logical Blocks */147 uint16_t numlb;148 /** Control */149 uint8_t control;150 } __attribute__((packed)) scsi_cdb_sync_cache_10_t;151 152 /** SCSI Synchronize Cache (16) command */153 typedef struct {154 /** Operation code (SCSI_CMD_SYNC_CACHE_16) */155 uint8_t op_code;156 /** Reserved, Sync_NV, Immed, Reserved */157 uint8_t flags;158 /** Logical block address */159 uint64_t lba;160 /** Number of Logical Blocks */161 uint32_t numlb;162 /** Reserved, Group Number */163 uint8_t group_no;164 /** Control */165 uint8_t control;166 } __attribute__((packed)) scsi_cdb_sync_cache_16_t;167 168 133 /** SCSI Write (10) command */ 169 134 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.