1ATA_WAIT_AFTER_RESET(9)         libata Library         ATA_WAIT_AFTER_RESET(9)
2
3
4

NAME

6       ata_wait_after_reset - wait for link to become ready after reset
7

SYNOPSIS

9       int ata_wait_after_reset(struct ata_link * link,
10                                unsigned long deadline,
11                                int (*check_ready) (struct ata_link *link));
12

ARGUMENTS

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

DESCRIPTION

24       Wait for link to become ready after reset.
25

LOCKING

27       EH context.
28

RETURNS

30       0 if linke is ready before deadline; otherwise, -errno.
31

AUTHOR

33       Jeff Garzik
34           Author.
35
37Kernel Hackers Manual 3.10         June 2019           ATA_WAIT_AFTER_RESET(9)
Impressum