Name

ata_dev_set_protocol — set taskfile protocol and r/w commands

Synopsis

void ata_dev_set_protocol (struct ata_device *  dev);

Arguments

dev

device to examine and configure

Description

Examine the device configuration, after we have read the identify-device page and configured the data transfer mode. Set internal state related to the ATA taskfile protocol (pio, pio mult, dma, etc.) and calculate the proper read/write commands to use.

LOCKING

caller.