suse man page for ata_wait_ready

Query: ata_wait_ready

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ATA_WAIT_READY(9)					       libata Core Internals						 ATA_WAIT_READY(9)

NAME
ata_wait_ready - wait for link to become ready
SYNOPSIS
int ata_wait_ready(struct ata_link * link, unsigned long deadline, int (*check_ready) (struct ata_link *link));
ARGUMENTS
link link to be waited on deadline deadline jiffies for the operation check_ready callback to check link readiness
DESCRIPTION
Wait for link to become ready. check_ready should return positive number if link is ready, 0 if it isn't, -ENODEV if link doesn't seem to be occupied, other errno for other error conditions. Transient -ENODEV conditions are allowed for ATA_TMOUT_FF_WAIT.
LOCKING
EH context.
RETURNS
0 if linke is ready before deadline; otherwise, -errno.
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATA_WAIT_READY(9)
Related Man Pages
list_link(1m) - hpux
set_link(1m) - hpux
link(1) - osf1
di_link_next_by_lnode(3devinfo) - sunos
di_link_next_by_node(3devinfo) - sunos
Similar Topics in the Unix Linux Community
Change directory error
Migrating to UNIX
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure
The Future of the PM (Private Message) System at UNIX.com