ata_port_online(9)

NAME

ata_port_online - test whether the given port is online

SYNOPSIS

int ata_port_online(struct ata_port * ap);

ARGUMENTS

ap
ATA port to test

DESCRIPTION

Test whether ap is online. Note that this function returns
0 if online status of ap cannot be obtained, so ata_port_on
line(ap) != !ata_port_offline(ap).

LOCKING

None.

RETURNS

1 if the port online status is available and online.

AUTHOR

Jeff Garzik
Author.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout