1. NAME

ata_link_online - test whether the given link is online

2. SYNOPSIS

bool ata_link_online(struct ata_link *  link );

3. ARGUMENTS

link
    ATA link to test

4. DESCRIPTION

Test whether link is online. This is identical to ata_phys_link_online when thereAqs no slave link. When thereAqs a slave link, this function should only be called on the master link and will return true if any of M/S links is online.

5. LOCKING

None.

6. RETURNS

True if the port online status is available and online.

7. AUTHOR

Jeff Garzik
    Author.

8. COPYRIGHT