ata_exec

Name

ata_exec --  issue ATA command to host controller

Synopsis

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

Arguments

ap

port to which command is being issued

tf

ATA taskfile register set

Description

Issues PIO write to ATA command register, with proper synchronization with interrupt handler / other threads.

LOCKING

Obtains host_set lock.