Name

ata_qc_new — Request an available ATA command, for queueing

Synopsis

struct ata_queued_cmd * fsfuncata_qc_new (struct ata_port * ap);
 

Arguments

ap

target port

Description

Some ATA host controllers may implement a queue depth which is less than ATA_MAX_QUEUE. So we shouldn't allocate a tag which is beyond the hardware limitation.

LOCKING

None.