android_kernel_xiaomi_sm8350/drivers/ide/arm
Bartlomiej Zolnierkiewicz 4db90a1452 ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag
* Add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag and use it to decide
  what to do with transfer modes < XFER_PIO_0 in ide_set_xfer_rate().

* Set IDE_HFLAG_ABUSE_SET_DMA_MODE in host drivers that need it
  (aec62xx, amd74xx, cs5520, cs5535, hpt34x, hpt366, pdc202xx_old,
  serverworks, tc86c001 and via82cxxx) and cleanup ->set_dma_mode
  methods in host drivers that don't (IDE core code guarantees that
  ->set_dma_mode will be called only for modes which are present
  in SWDMA/MWDMA/UDMA masks).

While at it:

* Add IDE_HFLAGS_HPT34X/HPT3XX/PDC202XX/SVWKS define in
  hpt34x/hpt366/pdc202xx_old/serverworks host driver.

There should be no functionality changes caused by this patch.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-25 22:17:18 +01:00
..
bast-ide.c ide: add ->fixup method to ide_hwif_t 2007-10-20 00:32:31 +02:00
icside.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
ide_arm.c ide: add ->fixup method to ide_hwif_t 2007-10-20 00:32:31 +02:00
Makefile
rapide.c ide: remove write-only hwif->hw 2007-10-20 00:32:33 +02:00