Name

ata_pio_complete — check if drive is busy or idle

Synopsis

int ata_pio_complete (struct ata_port * ap);

Arguments

ap

the target ata_port

LOCKING

None. (executing in kernel thread context)

RETURNS

Zero if qc completed. Non-zero if has next.