Query: ata_do_set_mode
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_DO_SET_MODE(9) libata Library ATA_DO_SET_MODE(9)NAMEata_do_set_mode - Program timings and issue SET FEATURES - XFERSYNOPSISint ata_do_set_mode(struct ata_link * link, struct ata_device ** r_failed_dev);ARGUMENTSlink link on which timings will be programmed r_failed_dev out parameter for failed deviceDESCRIPTIONStandard 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.LOCKINGPCI/etc. bus probe sem.RETURNS0 on success, negative errno otherwiseAUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_DO_SET_MODE(9)