aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-01-26 14:13:11 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 14:13:11 -0500
commit4d7a984bdcbdda69fc6b2a4a655415140270aa7b (patch)
tree92d331aa25949277fe76354dfdaf5a5d6e62aaf4 /include/linux/ide.h
parent79f21b84d94c02b941818df282b61f2a5a028722 (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.h2
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
994ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *); 994ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *);
995 995
996void task_end_request(ide_drive_t *, struct request *, u8);
997
996int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *, u16); 998int ide_raw_taskfile(ide_drive_t *, ide_task_t *, u8 *, u16);
997int ide_no_data_taskfile(ide_drive_t *, ide_task_t *); 999int ide_no_data_taskfile(ide_drive_t *, ide_task_t *);
998 1000