ata_build_rw_tf — Build ATA taskfile for given read/write request
int ata_build_rw_tf ( | struct ata_taskfile * tf, |
| struct ata_device * dev, | |
| u64 block, | |
| u32 n_block, | |
| unsigned int tf_flags, | |
| unsigned int tag, | |
int class); |
struct ata_taskfile * tfTarget ATA taskfile
struct ata_device * dev
ATA device tf belongs to
u64 blockBlock address
u32 n_blockNumber of blocks
unsigned int tf_flagsRW/FUA etc...
unsigned int tagtag
int classIO priority class