Changeset 15d0046 in mainline for uspace/lib/scsi/include/scsi/sbc.h
- Timestamp:
- 2014-09-12T13:22:33Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b20126
- Parents:
- 8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/scsi/include/scsi/sbc.h
r8db09e4 r15d0046 50 50 SCSI_CMD_READ_CAPACITY_16 = 0x9e, 51 51 52 SCSI_CMD_SYNC_CACHE_10 = 0x35, 53 SCSI_CMD_SYNC_CACHE_16 = 0x91, 54 52 55 SCSI_CMD_WRITE_6 = 0x0a, 53 56 SCSI_CMD_WRITE_10 = 0x2a, … … 131 134 } scsi_read_capacity_10_data_t; 132 135 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 133 168 /** SCSI Write (10) command */ 134 169 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.