android_kernel_xiaomi_sm8350/drivers/ide/pci
Sergei Shtylyov ea266ba159 sl82c105: DMA support fixes
Fix a number of issues with the DMA support code:

- driver claims support for all SW/MW DMA modes while supporting only MWDMA2;

- ide_dma_check() method tries to enable DMA on the "known good" drives which
  don't support MWDMA2;

- ide_dma_on() method upon failure to set drive to MWDMA2 re-tunes already
  tuned PIO mode and calls ide_dma_off() method instead of returning error;

- ide_dma_off() method sets drive->current_speed while it doesn't actually
  change (only the PIO timings are re-loaded into the chip's registers);

- init_hwif() method forcibly sets/resets both "drive DMA capable" bits while
  this is properly handled by ide_dma_{on,off}() methods being called later...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-02-17 02:40:22 +01:00
..
aec62xx.c
alim15x3.c
amd74xx.c
atiixp.c atiixp/jmicron/triflex: fix PIO fallback 2007-02-17 02:40:20 +01:00
cmd64x.c
cmd640.c
cs5520.c
cs5530.c
cs5535.c
cy82c693.c
delkin_cb.c IDE Driver for Delkin/Lexar/etc.. cardbus CF adapter 2007-02-07 18:19:32 +01:00
generic.c
hpt34x.c hpt34x: hpt34x_tune_chipset() (->speedproc) fix 2007-02-17 02:40:20 +01:00
hpt366.c hpt366: HPT36x PCI clock detection fix 2007-02-07 18:18:20 +01:00
it821x.c
it8213.c ide: it8213 IDE driver update (version 2) 2007-02-07 18:19:26 +01:00
jmicron.c atiixp/jmicron/triflex: fix PIO fallback 2007-02-17 02:40:20 +01:00
Makefile IDE Driver for Delkin/Lexar/etc.. cardbus CF adapter 2007-02-07 18:19:32 +01:00
ns87415.c
opti621.c
pdc202xx_new.c pdc202xx_new: remove check_in_drive_lists abomination 2007-02-07 18:18:39 +01:00
pdc202xx_old.c pdc202xx_old: fix PIO mode setup 2007-02-17 02:40:22 +01:00
piix.c ide: remove clearing bmdma status from cdrom_decode_status() (rev #4) 2007-02-17 02:40:22 +01:00
rz1000.c
sc1200.c
serverworks.c
sgiioc4.c
siimage.c siimage: PIO1/2 taskfile transfer overclocking fix 2007-02-17 02:40:22 +01:00
sis5513.c
sl82c105.c sl82c105: DMA support fixes 2007-02-17 02:40:22 +01:00
slc90e66.c slc90e66: carry over fixes from piix driver 2007-02-07 18:18:34 +01:00
tc86c001.c tc86c001: add missing __init tag for tc86c001_ide_init() 2007-02-07 18:19:09 +01:00
triflex.c atiixp/jmicron/triflex: fix PIO fallback 2007-02-17 02:40:20 +01:00
trm290.c
via82cxxx.c