]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit46cedc9b773795b6190c31e5d32de5207b55a356
treeede4fb5593e092fc989286e9f14a2c9efdf23fed
parent3c3f5d2c9f64b47aceb88f8d80fcb70fb9f9809f
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