1. NAME

ata_rwcmd_protocol - set taskfile r/w commands and protocol

2. SYNOPSIS

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

3. ARGUMENTS

tf
    command to examine and configure

dev
    device tf belongs to

4. DESCRIPTION

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

5. LOCKING

caller.

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT