ata_port_online — test whether the given port is online
ATA port to test
Test whether ap is online. Note that this function returns 0 if online status of ap cannot be obtained, so ata_port_online(ap) != !ata_port_offline(ap).
None.
1 if the port online status is available and online.