diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:07 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:07 -0500 |
commit | 9a3c49be5c5f7388eefb712be9a383904140532e (patch) | |
tree | 5dc16604e155dcc6c14e65dc3cfce8605f2c8f82 /include/linux/ide.h | |
parent | 9e42237f26cf517a3f682505f03a3a8d89b3b35d (diff) |
ide: add ide_no_data_taskfile() helper
* Add ide_no_data_taskfile() helper and convert ide_raw_taskfile() w/ NO DATA
protocol users to use it instead.
* Set ->data_phase explicitly in ide_no_data_taskfile()
(TASKFILE_NO_DATA is defined as 0x0000).
* Unexport task_no_data_intr().
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index e25fd0b1dd79..11bfbc40c50a 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1140,6 +1140,8 @@ extern ide_startstop_t pre_task_out_intr(ide_drive_t *, struct request *); | |||
1140 | 1140 | ||
1141 | extern int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *); | 1141 | extern int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *); |
1142 | 1142 | ||
1143 | int ide_no_data_taskfile(ide_drive_t *, ide_task_t *); | ||
1144 | |||
1143 | int ide_taskfile_ioctl(ide_drive_t *, unsigned int, unsigned long); | 1145 | int ide_taskfile_ioctl(ide_drive_t *, unsigned int, unsigned long); |
1144 | int ide_cmd_ioctl(ide_drive_t *, unsigned int, unsigned long); | 1146 | int ide_cmd_ioctl(ide_drive_t *, unsigned int, unsigned long); |
1145 | int ide_task_ioctl(ide_drive_t *, unsigned int, unsigned long); | 1147 | int ide_task_ioctl(ide_drive_t *, unsigned int, unsigned long); |