android_kernel_xiaomi_sm8350/drivers/ide/pci
Sergei Shtylyov e51e2528d5 cmd64x: interrupt status fixes (take 2)
The driver's ide_dma_test_irq() method was reading the MRDMODE register even on
PCI0643/6 where it was write-only -- fix this by always reading the "backward-
compatible" interrupt bits, renaming dma_alt_stat to irq_stat as the interrupt
status bits are not coupled to DMA.
In addition, wrong interrupt bit was tested/cleared for the primary channel --
it's bit 2 in all the chip specs and the driver used bit 1... :-/

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-05-05 22:03:49 +02:00
..
aec62xx.c
alim15x3.c
amd74xx.c
atiixp.c
cmd64x.c cmd64x: interrupt status fixes (take 2) 2007-05-05 22:03:49 +02:00
cmd640.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
cs5520.c
cs5530.c
cs5535.c
cy82c693.c
delkin_cb.c ide/pci/delkin_cb.c: add new PCI ID 2007-04-20 22:16:58 +02:00
generic.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
hpt34x.c
hpt366.c hpt366: fix kernel oops with HPT302N 2007-04-20 22:16:58 +02:00
it821x.c
it8213.c
jmicron.c jmicron: make ide jmicron driver play nice with libata ones 2007-03-17 21:57:25 +01:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c
opti621.c ide: remove some obsoleted kernel params (v2) 2007-03-03 17:48:55 +01:00
pdc202xx_new.c pdc202xx_new: Enable ATAPI DMA 2007-03-26 23:03:19 +02:00
pdc202xx_old.c
piix.c piix/slc90e66: more tuneproc() fixing (take 2) 2007-03-03 17:48:53 +01:00
rz1000.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
sc1200.c
scc_pata.c scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
serverworks.c
sgiioc4.c
siimage.c siimage: DRAC4 note 2007-03-03 17:48:54 +01:00
sis5513.c
sl82c105.c sl82c105: DMA support code cleanup (take 4) 2007-05-05 22:03:49 +02:00
slc90e66.c piix/slc90e66: more tuneproc() fixing (take 2) 2007-03-03 17:48:53 +01:00
tc86c001.c
triflex.c
trm290.c
via82cxxx.c