1ATA_DO_SET_MODE(9) libata Library ATA_DO_SET_MODE(9)
2
3
4
6 ata_do_set_mode - Program timings and issue SET FEATURES - XFER
7
9 int ata_do_set_mode(struct ata_link * link,
10 struct ata_device ** r_failed_dev);
11
13 link
14 link on which timings will be programmed
15
16 r_failed_dev
17 out parameter for failed device
18
20 Standard implementation of the function used to tune and set ATA device
21 disk transfer mode (PIO3, UDMA6, etc.). If ata_dev_set_mode fails,
22 pointer to the failing device is returned in r_failed_dev.
23
25 PCI/etc. bus probe sem.
26
28 0 on success, negative errno otherwise
29
31 Jeff Garzik
32 Author.
33
35Kernel Hackers Manual 3.10 June 2019 ATA_DO_SET_MODE(9)