1
0
Fork 0
remarkable-linux/drivers/ide
Bartlomiej Zolnierkiewicz ac026ff254 ide: remove 'command_type' field from ide_task_t
* Add 'data_buf' and 'nsect' variables in ide_taskfile_ioctl()
  to cache data buffer pointer and number of sectors to transfer
  (this allows us to have only one ide_diag_taskfile() call).

* Add IDE_TFLAG_WRITE taskfile flag and use it to check whether
  the REQ_RW request flag should be set.

* Move ->command_type handling from ide_diag_taskfile() to
  ide_taskfile_ioctl() and use ->req_cmd instead of ->command_type.

* Add 'nsect' parameter to ide_raw_taskfile().

* Merge ide_diag_taskfile() into ide_raw_taskfile().

* Initialize ->data_phase explicitly in idedisk_prepare_flush(),
  ide_start_power_step() and ide_disk_special().

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

* Add #ifndef/#endif __KERNEL__ to <linux/hdreg.h> around no
  longer used by kernel IDE_DRIVE_TASK_* and TASKFILE_* defines.

There should be no functionality changes caused by this patch.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-25 22:17:14 +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 hwif->intrproc 2008-01-25 22:17:14 +01:00
ppc ide-pmac: fix pmac_ide_init_hwif_ports() 2008-01-25 22:17:07 +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
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: remove 'command_type' field from ide_task_t 2008-01-25 22:17:14 +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 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 'command_type' field from ide_task_t 2008-01-25 22:17:14 +01:00
ide-iops.c ide: remove SELECT_INTERRUPT() 2008-01-25 22:17:13 +01:00
ide-lib.c ide: remove atapi_error_t (take 2) 2008-01-25 22:17:12 +01:00
ide-pnp.c icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
ide-probe.c ide: remove QUIRK_LIST() 2008-01-25 22:17:13 +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: remove 'command_type' field from ide_task_t 2008-01-25 22:17:14 +01:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: remove hwif->intrproc 2008-01-25 22:17:14 +01:00
setup-pci.c ide: coding style fixes for drivers/ide/setup-pci.c 2007-12-12 23:31:57 +01:00