diff options
author | Tejun Heo <htejun@gmail.com> | 2008-01-26 14:13:11 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:11 -0500 |
commit | 4d7a984bdcbdda69fc6b2a4a655415140270aa7b (patch) | |
tree | 92d331aa25949277fe76354dfdaf5a5d6e62aaf4 /include/linux/ide.h | |
parent | 79f21b84d94c02b941818df282b61f2a5a028722 (diff) |
ide: task_end_request() fix
task_end_request() modified to always call ide_end_drive_cmd()
for taskfile requests. Previously, ide_end_drive_cmd() was
called only when IDE_TFLAG_FLAGGED was set. Also,
ide_dma_intr() is modified to use task_end_request().
Enables TASKFILE ioctls to get valid register outputs on
successful completion.
Bart:
- ported it over recent IDE changes
Signed-off-by: Tejun Heo <htejun@gmail.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 02493dbb156d..6192564fcc5a 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -993,6 +993,8 @@ void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8); | |||
993 | 993 | ||
994 | ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *); | 994 | ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *); |
995 | 995 | ||
996 | void task_end_request(ide_drive_t *, struct request *, u8); | ||
997 | |||
996 | int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *, u16); | 998 | int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *, u16); |
997 | int ide_no_data_taskfile(ide_drive_t *, ide_task_t *); | 999 | int ide_no_data_taskfile(ide_drive_t *, ide_task_t *); |
998 | 1000 | ||