other versions
ATA_LINK_ONLINE(9) | libata Library | ATA_LINK_ONLINE(9) |
NAME¶
ata_link_online - test whether the given link is onlineSYNOPSIS¶
bool ata_link_online(struct ata_link * link);
ARGUMENTS¶
struct ata_link * linkATA link to test
DESCRIPTION¶
Test whether link is online. This is identical to ata_phys_link_online when there's no slave link. When there's 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.LOCKING: None.
RETURN¶
True if the port online status is available and online.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |