Ignore:
Timestamp:
Dec 20, 2016, 9:35:27 PM (9 years ago)
Author:
David Azarewicz
Message:

Fix for sparse port hardware

File:
1 edited

Legend:

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

    r178 r185  
    491491/* -------------------------- function prototypes -------------------------- */
    492492
    493 extern int       ata_cmd                  (AD_INFO *ai, int port, int device,
    494                                            int slot, int cmd, ...);
    495 extern int       v_ata_cmd                (AD_INFO *ai, int port, int device,
    496                                            int slot, int cmd, va_list va);
    497 extern void      ata_cmd_to_fis           (u8 *fis, ATA_CMD *cmd,
    498                                            int device);
    499 extern USHORT    ata_get_sg_indx          (IORB_EXECUTEIO *io);
    500 extern void      ata_max_sg_cnt           (IORB_EXECUTEIO *io,
    501                                            USHORT sg_indx, USHORT sg_max,
    502                                            USHORT *sg_cnt,
    503                                            USHORT *sector_cnt);
     493extern int ata_cmd(AD_INFO *ai, int port, int device, int slot, int cmd, ...);
     494extern int v_ata_cmd(AD_INFO *ai, int port, int device, int slot, int cmd, va_list va);
     495extern void ata_cmd_to_fis(u8 *fis, ATA_CMD *cmd, int device);
     496extern USHORT ata_get_sg_indx(IORB_EXECUTEIO *io);
     497extern void ata_max_sg_cnt(IORB_EXECUTEIO *io, USHORT sg_indx, USHORT sg_max, USHORT *sg_cnt, USHORT *sector_cnt);
    504498
    505499extern int ata_get_geometry(IORBH FAR16DATA *iorb, IORBH *pIorb, int slot);
     
    517511extern int ata_req_sense(IORBH FAR16DATA *vIorb, IORBH *pIorb, int slot);
    518512
    519 extern char     *ata_dev_name             (u16 *id_buf);
    520 
     513extern char *ata_dev_name(u16 *id_buf);
     514
Note: See TracChangeset for help on using the changeset viewer.