Ignore:
Timestamp:
Dec 27, 2010, 2:13:49 PM (15 years ago)
Author:
markus
Message:

made it compile, added atapi command mapping/padding (->12 bytes)

File:
1 edited

Legend:

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

    r65 r68  
    123123} ATAPI_SENSE_DATA;
    124124
     125/******************************************************************************Ü
     126 * ATAPI_CDB_6 - describes 6 byte ATAPI command
     127 */
     128typedef struct _ATAPI_CDB_6 {
     129  u8   cmd;            /* command code */
     130  u8   lun;            /* SCSI lun (ignored) */
     131  u8   resvd[2];
     132  u8   trans_len;      /* transfer length */
     133  u8   control;
     134} ATAPI_CDB_6;
     135
    125136/******************************************************************************
    126137 * ATAPI_CDB_10 - describes layout of generic 10 byte ATAPI command
     
    146157} ATAPI_CDB_12;
    147158
    148 /******************************************************************************Ü
    149  * ATAPI_CDB_6 - describes 6 byte ATAPI command
    150  */
    151 typedef struct _ATAPI_CDB_6 {
    152   u8   cmd;            /* command code */
    153   u8   lun;            /* SCSI lun (ignored) */
    154   u8   resvd[2];
    155   u8   trans_len;      /* transfer length */
    156   u8   control;
    157 } ATAPI_CDB_6;
    158 
    159159
    160160/* ---------------------------- global variables --------------------------- */
Note: See TracChangeset for help on using the changeset viewer.