ide: add ->dma_clear method and remove ->dma_timeout one
All custom ->dma_timeout implementations call the generic one thus it is possible to have only an optional method for resetting DMA engine instead: * Add ->dma_clear method and convert hpt366, pdc202xx_old and sl82c105 host drivers to use it. * Always use ide_dma_timeout() in ide_dma_timeout_retry() and remove ->dma_timeout method. * Make ide_dma_timeout() static. There should be no functional changes caused by this patch. Acked-by:Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by:
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing
- drivers/ide/alim15x3.c 0 additions, 1 deletiondrivers/ide/alim15x3.c
- drivers/ide/au1xxx-ide.c 0 additions, 1 deletiondrivers/ide/au1xxx-ide.c
- drivers/ide/cmd64x.c 0 additions, 3 deletionsdrivers/ide/cmd64x.c
- drivers/ide/cs5536.c 0 additions, 1 deletiondrivers/ide/cs5536.c
- drivers/ide/hpt366.c 1 addition, 9 deletionsdrivers/ide/hpt366.c
- drivers/ide/icside.c 0 additions, 1 deletiondrivers/ide/icside.c
- drivers/ide/ide-dma-sff.c 1 addition, 2 deletionsdrivers/ide/ide-dma-sff.c
- drivers/ide/ide-dma.c 6 additions, 4 deletionsdrivers/ide/ide-dma.c
- drivers/ide/it821x.c 1 addition, 2 deletionsdrivers/ide/it821x.c
- drivers/ide/ns87415.c 0 additions, 1 deletiondrivers/ide/ns87415.c
- drivers/ide/pdc202xx_old.c 2 additions, 8 deletionsdrivers/ide/pdc202xx_old.c
- drivers/ide/pmac.c 0 additions, 1 deletiondrivers/ide/pmac.c
- drivers/ide/sc1200.c 0 additions, 1 deletiondrivers/ide/sc1200.c
- drivers/ide/scc_pata.c 0 additions, 1 deletiondrivers/ide/scc_pata.c
- drivers/ide/sgiioc4.c 0 additions, 1 deletiondrivers/ide/sgiioc4.c
- drivers/ide/siimage.c 0 additions, 1 deletiondrivers/ide/siimage.c
- drivers/ide/sl82c105.c 3 additions, 4 deletionsdrivers/ide/sl82c105.c
- drivers/ide/tc86c001.c 0 additions, 1 deletiondrivers/ide/tc86c001.c
- drivers/ide/trm290.c 0 additions, 1 deletiondrivers/ide/trm290.c
- drivers/ide/tx4939ide.c 0 additions, 1 deletiondrivers/ide/tx4939ide.c
Loading
Please register or sign in to comment