1. NAME

ata_phys_link_offline - test whether the given link is offline

2. SYNOPSIS

bool ata_phys_link_offline(struct ata_link *  link );

3. ARGUMENTS

link
    ATA link to test

4. DESCRIPTION

Test whether link is offline. Note that this function returns 0 if offline status of link cannot be obtained, so ata_link_online(link) != !ata_link_offline(link).

5. LOCKING

None.

6. RETURNS

True if the port offline status is available and offline.

7. AUTHOR

Jeff Garzik
    Author.

8. COPYRIGHT