This repository has been archived on 2025-07-24. You can view files and clone it, but cannot push or open issues or pull requests.
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
..
2007-10-14 20:17:39 -07:00
2007-10-17 08:43:03 -07:00
2007-12-26 19:36:35 -08:00
2007-10-15 17:56:36 -07:00
2007-10-18 14:37:20 -07:00
2008-01-15 16:35:21 -05:00
2007-10-21 02:37:45 -04:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:07 -07:00
2007-10-18 14:37:29 -07:00
2007-10-19 11:53:42 -07:00
2007-10-19 11:53:42 -07:00
2008-01-25 22:17:11 +01:00
2007-10-16 09:42:58 -07:00
2007-10-20 03:10:57 +02:00
2007-10-19 11:53:36 -07:00
2007-10-19 11:53:36 -07:00
2007-10-16 09:43:13 -07:00
2007-10-17 08:42:52 -07:00
2007-11-19 21:43:22 -05:00
2007-10-16 09:43:09 -07:00
2007-10-21 02:37:45 -04:00
2007-10-19 11:53:36 -07:00
2007-12-20 17:32:12 +00:00
2007-10-20 02:00:58 +01:00
2007-10-18 14:37:21 -07:00
2008-01-23 21:23:13 -05:00
2007-10-22 08:13:19 -07:00
2007-10-22 08:13:20 -07:00
2007-10-17 08:42:51 -07:00
2007-10-29 07:41:32 -07:00
2007-10-22 08:13:21 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:48 -07:00
2007-10-17 08:43:01 -07:00
2007-11-29 09:24:54 -08:00
2007-10-19 11:53:42 -07:00
2008-01-14 21:53:31 +01:00
2007-11-15 19:24:02 +01:00
2007-10-16 11:21:00 +02:00
2007-10-22 00:56:52 -04:00
2007-10-17 08:42:52 -07:00
2007-12-05 05:37:32 -08:00
2007-10-16 09:43:01 -07:00
2007-10-18 14:37:32 -07:00
2007-10-16 09:42:49 -07:00
2007-11-05 15:12:32 -08:00
2007-10-17 08:42:52 -07:00
2007-12-26 19:36:35 -08:00
2007-11-29 09:24:52 -08:00
2007-10-17 08:43:01 -07:00
2007-10-19 11:53:49 -07:00
2008-01-08 16:10:35 -08:00
2007-10-16 09:43:10 -07:00
2008-01-24 20:40:05 -08:00
2007-10-13 10:18:29 +02:00
2007-12-07 09:06:53 +00:00
2007-10-25 15:02:50 +10:00
2007-10-25 15:02:50 +10:00
2007-12-17 20:43:28 -05:00
2007-10-19 11:53:55 -07:00
2007-10-23 15:49:54 +10:00
2007-10-19 11:53:44 -07:00
2008-01-08 23:30:07 -08:00
2007-11-07 04:15:12 -08:00
2007-10-17 08:42:58 -07:00
2007-10-19 11:53:34 -07:00
2007-10-19 11:53:41 -07:00
2007-10-16 09:43:02 -07:00
2007-10-17 08:42:44 -07:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-12-27 23:55:13 -05:00
2007-10-19 11:53:41 -07:00
2007-12-05 09:21:20 -08:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:56 -07:00
2007-10-16 09:42:53 -07:00
2007-10-22 08:13:20 -07:00
2007-11-29 09:24:54 -08:00
2007-10-16 09:43:17 -07:00
2007-10-19 11:53:44 -07:00
2007-11-29 09:24:53 -08:00
2007-10-19 11:53:44 -07:00
2007-10-17 08:43:01 -07:00
2008-01-02 13:04:48 -08:00
2008-01-02 13:04:48 -08:00
2008-01-02 13:04:48 -08:00
2007-11-09 22:39:38 +01:00
2007-10-12 14:51:12 -07:00
2007-10-15 12:59:43 -07:00
2007-10-17 08:42:53 -07:00
2007-11-26 20:42:19 +01:00
2008-01-08 16:16:34 -08:00
2007-10-29 07:41:33 -07:00
2008-01-24 20:40:26 -08:00
2007-12-17 10:47:15 -08:00
2007-12-26 19:36:35 -08:00
2007-10-23 13:47:31 -05:00
2007-10-23 15:49:54 +10:00
2007-10-23 15:49:54 +10:00
2007-10-23 15:49:55 +10:00
2007-10-23 15:49:54 +10:00
2007-10-23 15:49:54 +10:00
2007-10-17 08:42:56 -07:00
2007-10-19 11:53:34 -07:00