1ATA_WAIT_AFTER_RESET(9) libata Library ATA_WAIT_AFTER_RESET(9)
2
3
4
6 ata_wait_after_reset - wait for link to become ready after reset
7
9 int ata_wait_after_reset(struct ata_link * link,
10 unsigned long deadline,
11 int (*check_ready) (struct ata_link *link));
12
14 link
15 link to be waited on
16
17 deadline
18 deadline jiffies for the operation
19
20 check_ready
21 callback to check link readiness
22
24 Wait for link to become ready after reset.
25
27 EH context.
28
30 0 if linke is ready before deadline; otherwise, -errno.
31
33 Jeff Garzik
34 Author.
35
37Kernel Hackers Manual 2.6. June 2019 ATA_WAIT_AFTER_RESET(9)