Changeset 185 for trunk/src/os2ahci/ata.h
- Timestamp:
- Dec 20, 2016, 9:35:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ata.h
r178 r185 491 491 /* -------------------------- function prototypes -------------------------- */ 492 492 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); 493 extern int ata_cmd(AD_INFO *ai, int port, int device, int slot, int cmd, ...); 494 extern int v_ata_cmd(AD_INFO *ai, int port, int device, int slot, int cmd, va_list va); 495 extern void ata_cmd_to_fis(u8 *fis, ATA_CMD *cmd, int device); 496 extern USHORT ata_get_sg_indx(IORB_EXECUTEIO *io); 497 extern void ata_max_sg_cnt(IORB_EXECUTEIO *io, USHORT sg_indx, USHORT sg_max, USHORT *sg_cnt, USHORT *sector_cnt); 504 498 505 499 extern int ata_get_geometry(IORBH FAR16DATA *iorb, IORBH *pIorb, int slot); … … 517 511 extern int ata_req_sense(IORBH FAR16DATA *vIorb, IORBH *pIorb, int slot); 518 512 519 extern char *ata_dev_name(u16 *id_buf);520 513 extern char *ata_dev_name(u16 *id_buf); 514
Note:
See TracChangeset
for help on using the changeset viewer.