]> git.baikalelectronics.ru Git - kernel.git/commit
sl82c105: add speedproc() method and MWDMA0/1 support
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 15 May 2007 22:51:44 +0000 (00:51 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 May 2007 22:51:44 +0000 (00:51 +0200)
commite9f2477f16bdaae8bc07cf07d7b9c804cdcd0b33
treeede4fb5593e092fc989286e9f14a2c9efdf23fed
parentdbfd124e5d9a3c4df7100cee89e43cb22ffd1ad1
sl82c105: add speedproc() method and MWDMA0/1 support

Add the speedproc() method for setting transfer modes, modify config_for_dma()
to call it and use ide_max_dma_mode() to select the best DMA mode.
Add support for the multiword DMA modes 0 and 1, using the upper half of the
'drive_data' field to store the DMA timings to program into the drive control
register when DMA is turned on for real.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/sl82c105.c