linux/drivers/ide
Bartlomiej Zolnierkiewicz 74095a91ed ide: use do_rw_taskfile() in flagged_taskfile()
Based on the earlier work by Tejun Heo.

* Move setting IDE_TFLAG_LBA48 taskfile flag from do_rw_taskfile()
  function to the callers.

* Add IDE_TFLAG_FLAGGED taskfile flag for flagged taskfiles coming
  from ide_taskfile_ioctl().  Check it instead of ->tf_out_flags.all.

* Add IDE_TFLAG_OUT_DATA taskfile flag to indicate the need to load
  IDE data register in ide_tf_load().

* Add IDE_TFLAG_OUT_* taskfile flags to indicate the need to load
  particular IDE taskfile registers in ide_tf_load().

* Update do_rw_taskfile() and ide_tf_load() users to set respective
  IDE_TFLAG_OUT_* taksfile flags.

* Add task_dma_ok() helper.

* Use IDE_TFLAG_FLAGGED taskfile flag to select HIHI mask in ide_tf_load().

* Use do_rw_taskfile() in flagged_taskfile().

* Remove no longer needed 'tf_out_flags' field from ide_task_t.

There should be no functionality changes caused by this patch.

Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-25 22:17:07 +01:00
..
arm ide/arm/icside: fallout from commit 86f3a492bb 2007-10-27 22:18:11 -07:00
cris ide-cris: don't override ide_register_hw() result 2007-11-27 21:35:55 +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 [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
pci ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
ppc drivers/ide: Add missing "space" 2007-11-27 21:35:55 +01:00
ide-acpi.c ide: add ide_no_data_taskfile() helper 2008-01-25 22:17:07 +01:00
ide-cd.c ide-cd: fix 'ireason' reporting in cdrom_pc_intr() 2007-12-24 15:23:44 +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: use do_rw_taskfile() in flagged_taskfile() 2008-01-25 22:17:07 +01:00
ide-dma.c ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
ide-floppy.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: use do_rw_taskfile() in flagged_taskfile() 2008-01-25 22:17:07 +01:00
ide-iops.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-lib.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-pnp.c icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
ide-probe.c Driver core: convert block from raw kobjects to core devices 2008-01-24 20:40:36 -08:00
ide-proc.c ide: add ide_device_add() 2007-10-20 00:32:31 +02:00
ide-tape.c IDE: Convert from class_device to device for ide-tape 2008-01-24 20:40:05 -08:00
ide-taskfile.c ide: use do_rw_taskfile() in flagged_taskfile() 2008-01-25 22:17:07 +01:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
Kconfig ide: deprecate CONFIG_BLK_DEV_OFFBOARD 2007-12-12 23:31:57 +01:00
Makefile ide: add CONFIG_IDE_H8300 config option 2007-11-27 21:35:54 +01:00
setup-pci.c ide: coding style fixes for drivers/ide/setup-pci.c 2007-12-12 23:31:57 +01:00