Changeset 8 for trunk/src/ata.h


Ignore:
Timestamp:
Sep 10, 2010, 11:30:39 AM (15 years ago)
Author:
markus
Message:

latest changes by Christian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ata.h

    r4 r8  
    396396  AP_SGLIST,       /* [void _far *, u16] buffer S/G (SCATGATENTRY/count)    */
    397397  AP_VADDR,        /* [void _far *, u16] buffer virtual address (buf/len)   */
    398   AP_H2D,          /* []                 host-to-device direction           */
     398  AP_WRITE,        /* []                 indicates a DMA write operation    */
    399399  AP_AHCI_FLAGS,   /* [u16]              AHCI command header flags          */
    400400  AP_ATAPI_CMD,    /* [void _far *, u16] ATAPI command (CDB) and length     */
     
    442442extern void      ata_cmd_to_fis      (u8 _far *fis, ATA_CMD _far *cmd,
    443443                                      int device);
     444extern USHORT    ata_get_sg_indx     (IORB_EXECUTEIO _far *io);
     445extern void      ata_max_sg_cnt      (IORB_EXECUTEIO _far *io, USHORT sg_indx,
     446                                      USHORT sg_max, USHORT _far *sg_cnt,
     447                                      USHORT _far *sector_cnt);
    444448
    445449extern int       ata_get_geometry    (IORBH _far *iorb, int slot);
     
    447451extern int       ata_unit_ready      (IORBH _far *iorb, int slot);
    448452extern int       ata_read            (IORBH _far *iorb, int slot);
     453extern void      ata_read_pp         (IORBH _far *iorb);
    449454extern int       ata_verify          (IORBH _far *iorb, int slot);
    450455extern int       ata_write           (IORBH _far *iorb, int slot);
     456extern void      ata_write_pp        (IORBH _far *iorb);
    451457extern int       ata_execute_ata     (IORBH _far *iorb, int slot);
    452458extern int       ata_req_sense       (IORBH _far *iorb, int slot);
     459
    453460extern char     *ata_dev_name        (u16 *id_buf);
     461
Note: See TracChangeset for help on using the changeset viewer.