| ata_do_set_mode(9) - phpMan
ATA_DO_SET_MODE(9) libata Library ATA_DO_SET_MODE(9)
NAME
ata_do_set_mode - Program timings and issue SET FEATURES - XFER
SYNOPSIS
int ata_do_set_mode(struct ata_link * link, struct ata_device ** r_failed_dev);
ARGUMENTS
link
link on which timings will be programmed
r_failed_dev
out parameter for failed device
DESCRIPTION
Standard implementation of the function used to tune and set ATA device disk transfer mode
(PIO3, UDMA6, etc.). If ata_dev_set_mode fails, pointer to the failing device is returned
in r_failed_dev.
LOCKING: PCI/etc. bus probe sem.
RETURN
0 on success, negative errno otherwise
AUTHOR
Jeff Garzik
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 ATA_DO_SET_MODE(9)
|