linux/drivers/ide
Bartlomiej Zolnierkiewicz 5e37bdc081 ide: add struct ide_dma_ops (take 3)
Add struct ide_dma_ops and convert core code + drivers to use it.

While at it:

* Drop "ide_" prefix from ->ide_dma_end and ->ide_dma_test_irq methods.

* Drop "ide_" "infixes" from DMA methods.

* au1xxx-ide.c:
  - use auide_dma_{test_irq,end}() directly in auide_dma_timeout()

* pdc202xx_old.c:
  - drop "old_" "infixes" from DMA methods

* siimage.c:
  - add siimage_dma_test_irq() helper
  - print SATA warning in siimage_init_one()

* Remove no longer needed ->init_hwif implementations.

v2:
* Changes based on review from Sergei:
  - s/siimage_ide_dma_test_irq/siimage_dma_test_irq/
  - s/drive->hwif/hwif/ in idefloppy_pc_intr().
  - fix patch description w.r.t. au1xxx-ide changes
  - fix au1xxx-ide build
  - fix naming for cmd64*_dma_ops
  - drop "ide_" and "old_" infixes
  - s/hpt3xxx_dma_ops/hpt37x_dma_ops/
  - s/hpt370x_dma_ops/hpt370_dma_ops/
  - use correct DMA ops for HPT302/N, HPT371/N and HPT374
  - s/it821x_smart_dma_ops/it821x_pass_through_dma_ops/

v3:
* Two bugs slipped in v2 (noticed by Sergei):
  - use correct DMA ops for HPT374 (for real this time)
  - handle HPT370/HPT370A properly

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-04-26 22:25:24 +02:00
..
arm ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
cris ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
h8300 ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
legacy ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
mips ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
pci ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ppc ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-acpi.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-cd_ioctl.c ide-cd: mark REQ_TYPE_ATA_PC write requests with REQ_RW flag 2008-03-07 21:53:49 +01:00
ide-cd_verbose.c ide-cd: move VERBOSE_IDE_CD_ERRORS code to ide-cd_verbose.c 2008-02-01 23:09:23 +01:00
ide-cd.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-cd.h ide-cd: remove the internal 64k buffer 2008-04-26 17:36:37 +02:00
ide-disk.c ide-disk: fix issues found by checkpatch.pl 2008-04-26 17:36:37 +02:00
ide-dma.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-floppy.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-generic.c ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
ide-io.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-iops.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-lib.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-pnp.c ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
ide-probe.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-proc.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-taskfile.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
ide-timing.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
ide.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
Kconfig ide/Kconfig: BLK_DEV_4DRIVES should be a tristate 2008-04-26 17:36:31 +02:00
Makefile ide: fix ide_find_port() 2008-04-18 00:46:21 +02:00
setup-pci.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00