ata_tf_to_host

Name

ata_tf_to_host --  issue ATA taskfile to host controller

Synopsis

void ata_tf_to_host (struct ata_port * ap, struct ata_taskfile * tf);

Arguments

ap

port to which command is being issued

tf

ATA taskfile register set

Description

Issues ATA taskfile register set to ATA host controller, via PIO, with proper synchronization with interrupt handler and other threads.

LOCKING

Obtains host_set lock.