Name

ata_rwcmd_protocol — set taskfile r/w commands and protocol

Synopsis

int ata_rwcmd_protocol (struct ata_taskfile * tf,
 struct ata_device * dev);
 

Arguments

struct ata_taskfile * tf

command to examine and configure

struct ata_device * dev

device tf belongs to

Description

Examine the device configuration and tf->flags to calculate the proper read/write commands and protocol to use.

LOCKING: caller.