Set taskfile r/w commands and protocol
int ata_rwcmd_protocol(struct ata_taskfile * tf, struct ata_device * dev);
tf
command to examine and configure
dev
device tf belongs to
Examine the device configuration and tf->flags to calculate the proper read/write commands and protocol to use.
caller.
Jeff Garzik
Author.