1. NAME▲
ata_wait_after_reset - wait for link to become ready after reset
2. SYNOPSIS ▲
int ata_wait_after_reset(struct ata_link * link , unsigned long deadline , int (* check_ready ) (struct ata_link *link));
3. ARGUMENTS ▲
link
link to be waited on
deadline
deadline jiffies for the operation
check_ready
callback to check link readiness
4. DESCRIPTION ▲
Wait for link to become ready after reset.
5. LOCKING ▲
EH context.
6. RETURNS ▲
0 if linke is ready before deadline; otherwise, -errno.
7. AUTHOR ▲
Jeff Garzik
Author.
8. COPYRIGHT ▲