ATA_RWCMD_PROTOCOL(9) libata Core Internals ATA_RWCMD_PROTOCOL(9)NAMEata_rwcmd_protocol - set taskfile r/w commands and protocol
int ata_rwcmd_protocol(struct ata_taskfile * tf,
struct ata_device * dev);
command to examine and configure
device tf belongs to
Examine the device configuration and tf->flags to calculate the proper
read/write commands and protocol to use.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 ATA_RWCMD_PROTOCOL(9)