• Bartlomiej Zolnierkiewicz's avatar
    ide: convert ide_find_best_mode() users to use ide_max_dma_mode() · 75b1d975
    Bartlomiej Zolnierkiewicz authored
    ide-timing.h:
    
    * remove handling of DMA modes from ide_find_best_mode() and rename it to
      ide_find_best_pio_mode()
    
    * drop no longer needed "map" argument from ide_find_best_pio_mode()
      and delete needless ->id check
    
    * remove no longer needed XFER_SWDMA and XFER_UDMA* defines
    
    au1xxx-ide.c:
    
    * use ide_max_dma_mode() instead of ide_find_best_mode()
    
    * remove needless CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA #ifdef
    
    amd74xx.c:
    
    * store UDMA masks in amd_ide_chip[] and while at it make "base" field
      to be u8 instead of unsigned long
    
    * convert the driver to use UDMA masks from amd_ide_chip[]
    
    * use ide_max_dma_mode() and ide_find_best_pio_mode() instead
      of ide_find_best_mode()
    
    * delete stale comment from amd74xx_ide_dma_check()
    
    * remove no longer needed AMD_UDMA* defines
    
    via82cxxx.c:
    
    * remove unused DISPLAY_VIA_TIMINGS define
    
    * store UDMA masks in via_isa_bridges[] and while at it make "flags" field
      to be u8 instead of u16
    
    * convert the driver to use UDMA masks from via_isa_bridges[]
    
    * use ide_max_dma_mode() and ide_find_best_pio_mode() instead
      of ide_find_best_mode()
    
    * remove no longer needed VIA_UDMA* defines
    
    pmac.c:
    
    * use ide_max_dma_mode() instead of ide_find_best_mode()
    
    There should be no functionality changes caused by this patch.
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Reviewed-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
    75b1d975
ide-timing.h 6.93 KB