Changes in uspace/lib/scsi/include/scsi/sbc.h [132a6073:71fa44c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/scsi/include/scsi/sbc.h
r132a6073 r71fa44c 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 74 58 /** SCSI Read (12) command */ 75 59 typedef struct { 76 60 /** Operation code (SCSI_CMD_READ_12) */ 77 61 uint8_t op_code; 78 /** RdProtect, DPO, FUA, Reserved, FUA_NV, Obsolete*/62 /** RdProtect, DPO, FUA, Reserved, FUA_NV, Reserved */ 79 63 uint8_t flags; 80 64 /** Logical block address */ … … 131 115 } scsi_read_capacity_10_data_t; 132 116 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 149 117 /** SCSI Write (12) command */ 150 118 typedef struct { 151 119 /** Operation code (SCSI_CMD_WRITE_12) */ 152 120 uint8_t op_code; 153 /** WrProtect, DPO, FUA, Reserved, FUA_NV, Obsolete*/121 /** WrProtect, DPO, FUA, Reserved, FUA_NV, Reserved */ 154 122 uint8_t flags; 155 123 /** Logical block address */
Note:
See TracChangeset
for help on using the changeset viewer.