ata_do_set_mode — Program timings and issue SET FEATURES - XFER
link on which timings will be programmed
out parameter for failed device
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.
PCI/etc. bus probe sem.
0 on success, negative errno otherwise