ata_id_to_dma_mode — Identify DMA mode from id block
void ata_id_to_dma_mode ( | struct ata_device * | dev, |
u8 | unknown) ; |
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.