Changeset 57 for trunk/src/os2ahci/ata.h


Ignore:
Timestamp:
Dec 14, 2010, 9:35:35 PM (15 years ago)
Author:
markus
Message:

fixed ata_cmd to FIS mapping (LBA-28); removed sector mapping test code

File:
1 edited

Legend:

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

    r39 r57  
    434434  u16  features;          /* feature bits */
    435435  u16  count;             /* count register (e.g. number of sectors) */
    436   u32  lba_l;             /* low 28 bits of LBA (32 bits for 48-bit devices) */
     436  u32  lba_l;             /* low 24 bits of LBA-28 (32 bits for 48-bit devices) */
    437437  u16  lba_h;             /* high 16 bits of LBA for 48-bit devices */
    438438  u8   cmd;               /* ATA command field */
    439   u8   device;            /* ATA device field */
     439  u8   device;            /* ATA device field and upper 4 bits of LBA-28 */
    440440} ATA_CMD;
    441441
Note: See TracChangeset for help on using the changeset viewer.