ata_id_to_dma_mode(9)

ata_id_to_dma_mode9

Identify dma mode from id block

Usage

void ata_id_to_dma_mode(struct ata_device * dev, u8 unknown);

Arguments

dev

device to identify

unknown

mode to assume if we cannot tell

Overview

Set up the timing values for the device based upon the identify reported values for the DMA mode. This function is used by drivers which rely upon firmware configured modes, but wish to report the mode correctly when possible.

In addition we emit similarly formatted messages to the default ata_dev_set_mode handler, in order to provide consistency of presentation.

Author

Jeff Garzik

Author.

From linux-manual-2.6.24 2.6.24-6~etchnhalf.9etch3 in Debian 4.0 (Etch). Parsed by carta from the page's man source.