Changeset 8 for trunk/src/ata.h
- Timestamp:
- Sep 10, 2010, 11:30:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ata.h
r4 r8 396 396 AP_SGLIST, /* [void _far *, u16] buffer S/G (SCATGATENTRY/count) */ 397 397 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 */ 399 399 AP_AHCI_FLAGS, /* [u16] AHCI command header flags */ 400 400 AP_ATAPI_CMD, /* [void _far *, u16] ATAPI command (CDB) and length */ … … 442 442 extern void ata_cmd_to_fis (u8 _far *fis, ATA_CMD _far *cmd, 443 443 int device); 444 extern USHORT ata_get_sg_indx (IORB_EXECUTEIO _far *io); 445 extern 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); 444 448 445 449 extern int ata_get_geometry (IORBH _far *iorb, int slot); … … 447 451 extern int ata_unit_ready (IORBH _far *iorb, int slot); 448 452 extern int ata_read (IORBH _far *iorb, int slot); 453 extern void ata_read_pp (IORBH _far *iorb); 449 454 extern int ata_verify (IORBH _far *iorb, int slot); 450 455 extern int ata_write (IORBH _far *iorb, int slot); 456 extern void ata_write_pp (IORBH _far *iorb); 451 457 extern int ata_execute_ata (IORBH _far *iorb, int slot); 452 458 extern int ata_req_sense (IORBH _far *iorb, int slot); 459 453 460 extern char *ata_dev_name (u16 *id_buf); 461
Note:
See TracChangeset
for help on using the changeset viewer.