ata_wait_after_reset (9) - Linux Manuals
ata_wait_after_reset: wait for link to become ready after reset
NAME
ata_wait_after_reset - wait for link to become ready after reset
SYNOPSIS
-
int ata_wait_after_reset(struct ata_link
* link, unsigned longdeadline, int (* check_ready)(struct ata_link *link));
ARGUMENTS
link
-
- link to be waited on
deadline
- deadline jiffies for the operation
check_ready
- callback to check link readiness
DESCRIPTION
Wait for link to become ready after reset.
RETURN
0 if link is ready before deadline; otherwise, -errno.
AUTHOR
Jeff Garzik
- Author.
COPYRIGHT