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

Non-zero if qc completed, zero otherwise.