android_kernel_samsung_msm8976/drivers/ide
Bartlomiej Zolnierkiewicz 07a085ebd3 ide-cris: fix DMA methods
* Rename cris_dma_{on,off}() to cris_dma_host_{on,off}().

* Remove no longer needed ->dma_off_quietly
  (IDE core has the needed code now).

* Make cris_dma_host_on() void.

I left fixing ide-cris after "kill dma_on/dma_off_quietly() methods"
patch because:

* Currently this driver is broken: cris_dma_on() (returns 'int')
  is assigned to hwif->dma_host_on (returns 'void') so the driver
  won't build.

* ->ide_dma_on method was missing so the driver OOPS-es on attempt
  to enable DMA.

* drive->using_dma was never set/cleared so DMA wouldn't be used anyway.

Unfortunately it seems that ide-cris stays broken even after this patch:

* V10: <asm/arch-v10/ide.h> needs fixing
  - ide_init_default_hwifs() should be removed
    (IDE core no longer uses it)
  - same for ide_init_hwif_ports() and ide_default_{irq,io_base}()
    (they shouldn't be needed for ide-cris host driver)

* V32: I'm unable to find a place which defines ETRAX_ARCH_V32

but I'm leaving fixing this to CRIS gurus. :)

Cc: Mikael Starvik <starvik@axis.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-26 20:13:01 +01:00
..
arm ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
cris ide-cris: fix DMA methods 2008-01-26 20:13:01 +01:00
h8300 icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
legacy ali14xx: constify __initdata 2007-11-27 21:35:57 +01:00
mips ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
pci ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
ppc ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
ide-acpi.c ide: remove unnecessary writes to HOB taskfile registers 2008-01-25 22:17:10 +01:00
ide-cd.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-cd.h ide-cd: fix SAMSUNG CD-ROM SCR-3231 quirk 2007-12-24 15:23:43 +01:00
ide-disk.c ide-disk: add idedisk_set_doorlock() helper 2008-01-26 20:12:59 +01:00
ide-dma.c ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
ide-floppy.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
ide-iops.c ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
ide-lib.c ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag 2008-01-25 22:17:18 +01:00
ide-pnp.c icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
ide-probe.c ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
ide-proc.c ide: add ide_device_add() 2007-10-20 00:32:31 +02:00
ide-tape.c ide: add ide_pktcmd_tf_load() helper 2008-01-25 22:17:13 +01:00
ide-taskfile.c ide-disk: use do_rw_taskfile() (take 2) 2008-01-25 22:17:16 +01:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: remove ->ide_dma_on and ->dma_off_quietly methods from ide_hwif_t 2008-01-26 20:13:01 +01:00
Kconfig ide: remove CONFIG_IDEPCI_SHARE_IRQ config option 2008-01-25 22:17:08 +01:00
Makefile ide: add CONFIG_IDE_H8300 config option 2007-11-27 21:35:54 +01:00
setup-pci.c ide: (hopefully) fix VDMA for CS5520 2008-01-26 20:12:59 +01:00