Changeset 00c2de63 in mainline for uspace/lib/scsi/include/scsi/sbc.h
- Timestamp:
- 2011-07-29T14:50:22Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b6759f4
- Parents:
- 6c69d19 (diff), 7ae249d (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
r6c69d19 r00c2de63 56 56 }; 57 57 58 /** SCSI Read (10) command */ 59 typedef struct { 60 /** Operation code (SCSI_CMD_READ_10) */ 61 uint8_t op_code; 62 /** RdProtect, DPO, FUA, Reserved, FUA_NV, Obsolete */ 63 uint8_t flags; 64 /** Logical block address */ 65 uint32_t lba; 66 /** Reserved, Group Number */ 67 uint8_t group_no; 68 /** Transfer length */ 69 uint16_t xfer_len; 70 /** Control */ 71 uint8_t control; 72 } __attribute__((packed)) scsi_cdb_read_10_t; 73 58 74 /** SCSI Read (12) command */ 59 75 typedef struct { 60 76 /** Operation code (SCSI_CMD_READ_12) */ 61 77 uint8_t op_code; 62 /** RdProtect, DPO, FUA, Reserved, FUA_NV, Reserved*/78 /** RdProtect, DPO, FUA, Reserved, FUA_NV, Obsolete */ 63 79 uint8_t flags; 64 80 /** Logical block address */ … … 115 131 } scsi_read_capacity_10_data_t; 116 132 133 /** SCSI Write (10) command */ 134 typedef struct { 135 /** Operation code (SCSI_CMD_WRITE_10) */ 136 uint8_t op_code; 137 /** WrProtect, DPO, FUA, Reserved, FUA_NV, Obsolete */ 138 uint8_t flags; 139 /** Logical block address */ 140 uint32_t lba; 141 /** Reserved, Group Number */ 142 uint8_t group_no; 143 /** Transfer length */ 144 uint16_t xfer_len; 145 /** Control */ 146 uint8_t control; 147 } __attribute__((packed)) scsi_cdb_write_10_t; 148 117 149 /** SCSI Write (12) command */ 118 150 typedef struct { 119 151 /** Operation code (SCSI_CMD_WRITE_12) */ 120 152 uint8_t op_code; 121 /** WrProtect, DPO, FUA, Reserved, FUA_NV, Reserved*/153 /** WrProtect, DPO, FUA, Reserved, FUA_NV, Obsolete */ 122 154 uint8_t flags; 123 155 /** Logical block address */
Note:
See TracChangeset
for help on using the changeset viewer.