linux-stable-rt/drivers/ide
Bartlomiej Zolnierkiewicz 75b1d97535 ide: convert ide_find_best_mode() users to use ide_max_dma_mode()
ide-timing.h:

* remove handling of DMA modes from ide_find_best_mode() and rename it to
  ide_find_best_pio_mode()

* drop no longer needed "map" argument from ide_find_best_pio_mode()
  and delete needless ->id check

* remove no longer needed XFER_SWDMA and XFER_UDMA* defines

au1xxx-ide.c:

* use ide_max_dma_mode() instead of ide_find_best_mode()

* remove needless CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA #ifdef

amd74xx.c:

* store UDMA masks in amd_ide_chip[] and while at it make "base" field
  to be u8 instead of unsigned long

* convert the driver to use UDMA masks from amd_ide_chip[]

* use ide_max_dma_mode() and ide_find_best_pio_mode() instead
  of ide_find_best_mode()

* delete stale comment from amd74xx_ide_dma_check()

* remove no longer needed AMD_UDMA* defines

via82cxxx.c:

* remove unused DISPLAY_VIA_TIMINGS define

* store UDMA masks in via_isa_bridges[] and while at it make "flags" field
  to be u8 instead of u16

* convert the driver to use UDMA masks from via_isa_bridges[]

* use ide_max_dma_mode() and ide_find_best_pio_mode() instead
  of ide_find_best_mode()

* remove no longer needed VIA_UDMA* defines

pmac.c:

* use ide_max_dma_mode() instead of ide_find_best_mode()

There should be no functionality changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Reviewed-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
2007-07-09 23:17:57 +02:00
..
arm ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
cris
h8300
legacy drivers/ide/legacy/hd.c: Array size calculation using sizeof replaced with ARRAY_SIZE 2007-07-09 23:17:57 +02:00
mips ide: convert ide_find_best_mode() users to use ide_max_dma_mode() 2007-07-09 23:17:57 +02:00
pci ide: convert ide_find_best_mode() users to use ide_max_dma_mode() 2007-07-09 23:17:57 +02:00
ppc ide: convert ide_find_best_mode() users to use ide_max_dma_mode() 2007-07-09 23:17:57 +02:00
Kconfig
Makefile
ide-acpi.c
ide-cd.c ide-cd: replace C code with call to ARRAY_SIZE() macro 2007-07-09 23:17:57 +02:00
ide-cd.h ide-cd: replace C code with call to ARRAY_SIZE() macro 2007-07-09 23:17:57 +02:00
ide-disk.c ide: use mutex instead of ide_setting_sem semaphore in IDE driver 2007-07-09 23:17:56 +02:00
ide-dma.c ide: fix pre-EIDE SWDMA support 2007-07-09 23:17:57 +02:00
ide-floppy.c
ide-generic.c
ide-io.c ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
ide-iops.c
ide-lib.c
ide-pnp.c
ide-probe.c ide: remove references to the non-existent CONFIG_SCSI_EATA_DMA 2007-07-09 23:17:57 +02:00
ide-proc.c ide: use mutex instead of ide_setting_sem semaphore in IDE driver 2007-07-09 23:17:56 +02:00
ide-tape.c
ide-taskfile.c ide: never called printk statement in ide-taskfile.c::wait_drive_not_busy 2007-07-03 22:28:34 +02:00
ide-timing.h ide: convert ide_find_best_mode() users to use ide_max_dma_mode() 2007-07-09 23:17:57 +02:00
ide.c ide: use mutex instead of ide_setting_sem semaphore in IDE driver 2007-07-09 23:17:56 +02:00
setup-pci.c ide: ide_scan_pcibus(): check __pci_register_driver return value 2007-07-03 22:28:36 +02:00