android_kernel_motorola_sm6225/drivers/ide/pci
Bartlomiej Zolnierkiewicz 8ac2b42a45 ide: add IDE_HFLAG_CLEAR_SIMPLEX host flag
* Rename 'simplex_stat' variable to 'dma_stat' in ide_get_or_set_dma_base().

* Factor out code for forcing host out of "simplex" mode from
  ide_get_or_set_dma_base() to ide_pci_clear_simplex() helper.

* Add IDE_HFLAG_CLEAR_SIMPLEX host flag and set it in alim15x3 (for M5229),
  amd74xx (for AMD 7409), cmd64x (for CMD643), generic (for Netcell) and
  serverworks (for CSB5) host drivers.

* Make ide_get_or_set_dma_base() test for IDE_HFLAG_CLEAR_SIMPLEX host flag
  instead of checking dev->device (BTW the code was buggy because it didn't
  check for dev->vendor, luckily none of these PCI Device IDs was used by
  some other vendor for PCI IDE controller).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-01 23:09:30 +01:00
..
aec62xx.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
alim15x3.c ide: add IDE_HFLAG_CLEAR_SIMPLEX host flag 2008-02-01 23:09:30 +01:00
amd74xx.c ide: add IDE_HFLAG_CLEAR_SIMPLEX host flag 2008-02-01 23:09:30 +01:00
atiixp.c atiixp: remove ->dma_host_on and ->dma_host_off methods 2008-01-26 20:13:02 +01:00
cmd64x.c ide: add IDE_HFLAG_CLEAR_SIMPLEX host flag 2008-02-01 23:09:30 +01:00
cmd640.c ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
cs5520.c ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
cs5530.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
cs5535.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
cy82c693.c cy82c693: add ->set_dma_mode method 2008-01-26 20:13:00 +01:00
delkin_cb.c ide: drop 'initializing' argument from ide_register_hw() 2008-01-26 20:13:06 +01:00
generic.c ide: add IDE_HFLAG_CLEAR_SIMPLEX host flag 2008-02-01 23:09:30 +01:00
hpt34x.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
hpt366.c ide: ide_setup_dma() assumes 8 ports 2008-02-01 23:09:30 +01:00
it821x.c ide: merge ->fixup and ->quirkproc methods 2008-01-26 20:13:03 +01:00
it8213.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
jmicron.c it821x/jmicron: fix return value of {it821x,jmicron}_init_one() 2007-11-13 22:09:16 +01:00
Makefile ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
ns87415.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
opti621.c opti621: fix deadlock on error handling 2007-10-20 00:32:35 +02:00
pdc202xx_new.c ide: merge ->fixup and ->quirkproc methods 2008-01-26 20:13:03 +01:00
pdc202xx_old.c ide: ide_setup_dma() assumes 8 ports 2008-02-01 23:09:30 +01:00
piix.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
rz1000.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sc1200.c ide: merge ->dma_host_{on,off} methods into ->dma_host_set method 2008-01-26 20:13:03 +01:00
scc_pata.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
serverworks.c ide: add IDE_HFLAG_CLEAR_SIMPLEX host flag 2008-02-01 23:09:30 +01:00
sgiioc4.c ide: add ide_init_port_hw() helper 2008-01-26 20:13:05 +01:00
siimage.c ide: merge ->fixup and ->quirkproc methods 2008-01-26 20:13:03 +01:00
sis5513.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
sl82c105.c sl82c105: remove no longer needed ->selectproc method 2008-01-26 20:12:59 +01:00
slc90e66.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
tc86c001.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
triflex.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
trm290.c trm290: cannot call ide_setup_dma() 2008-02-01 23:09:29 +01:00
via82cxxx.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00