Query: ata_wait_after_reset
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_WAIT_AFTER_RESET(9) libata Library ATA_WAIT_AFTER_RESET(9)NAMEata_wait_after_reset - wait for link to become ready after resetSYNOPSISint ata_wait_after_reset(struct ata_link * link, unsigned long deadline, int (*check_ready) (struct ata_link *link));ARGUMENTSlink link to be waited on deadline deadline jiffies for the operation check_ready callback to check link readinessDESCRIPTIONWait for link to become ready after reset.LOCKINGEH context.RETURNS0 if linke is ready before deadline; otherwise, -errno.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATA_WAIT_AFTER_RESET(9)