Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/scsi/include/scsi/sbc.h

    r132a6073 r71fa44c  
    5656};
    5757
    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 
    7458/** SCSI Read (12) command */
    7559typedef struct {
    7660        /** Operation code (SCSI_CMD_READ_12) */
    7761        uint8_t op_code;
    78         /** RdProtect, DPO, FUA, Reserved, FUA_NV, Obsolete */
     62        /** RdProtect, DPO, FUA, Reserved, FUA_NV, Reserved */
    7963        uint8_t flags;
    8064        /** Logical block address */
     
    131115} scsi_read_capacity_10_data_t;
    132116
    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 
    149117/** SCSI Write (12) command */
    150118typedef struct {
    151119        /** Operation code (SCSI_CMD_WRITE_12) */
    152120        uint8_t op_code;
    153         /** WrProtect, DPO, FUA, Reserved, FUA_NV, Obsolete */
     121        /** WrProtect, DPO, FUA, Reserved, FUA_NV, Reserved */
    154122        uint8_t flags;
    155123        /** Logical block address */
Note: See TracChangeset for help on using the changeset viewer.