ata_rwcmd_protocol (9) Linux Manual Page
ata_rwcmd_protocol – set taskfile r/w commands and protocol
Synopsis
int ata_rwcmd_protocol(struct ata_taskfile *tf, struct ata_device *dev);
Arguments
tf
-
- command to examine and configure
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.
Author
Jeff Garzik
- Author.
