Ignore:
Timestamp:
Dec 18, 2010, 3:10:02 PM (15 years ago)
Author:
markus
Message:

added feature byte to ATAPI commands; fixed request sense CDB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/atapi.h

    r62 r63  
    120120 * ATAPI_CDB_10 - describes layout of generic 10 byte ATAPI command
    121121 */
    122 typedef struct _ATAPI_CMD_10 {
     122typedef struct _ATAPI_CDB_10 {
    123123  u8   cmd;            /* SCSI/ATAPI command code */
    124124  u8   flags;          /* flags (DPO, FUA) */
     
    131131 * ATAPI_CDB_12 - describes layout of generic 12 byte ATAPI command
    132132 */
    133 typedef struct _ATAPI_CMD_12 {
     133typedef struct _ATAPI_CDB_12 {
    134134  u8   cmd;            /* SCSI/ATAPI command code */
    135135  u8   flags;          /* flags (DPO, FUA) */
     
    141141
    142142/******************************************************************************Ü
    143  * ATAPI_CDB_REQ_SENSE - describes request sense command
     143 * ATAPI_CDB_6 - describes 6 byte ATAPI command
    144144 */
    145 typedef struct _ATAPI_CMD_REQ_SENSE {
    146   u8   cmd;            /* command code (0x03) */
     145typedef struct _ATAPI_CDB_6 {
     146  u8   cmd;            /* command code */
    147147  u8   lun;            /* SCSI lun (ignored) */
    148148  u8   resvd[2];
    149   u8   buffer_len;     /* sense buffer length */
     149  u8   trans_len;      /* trasnfer length */
    150150  u8   control;
    151 } ATAPI_CDB_REQ_SENSE;
     151} ATAPI_CDB_6;
    152152
    153153
Note: See TracChangeset for help on using the changeset viewer.