ide: add ide_no_data_taskfile() helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:07 +0000 (22:17 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 25 Jan 2008 21:17:07 +0000 (22:17 +0100)
commit9a3c49be5c5f7388eefb712be9a383904140532e
tree5dc16604e155dcc6c14e65dc3cfce8605f2c8f82
parent9e42237f26cf517a3f682505f03a3a8d89b3b35d
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>
drivers/ide/ide-acpi.c
drivers/ide/ide-disk.c
drivers/ide/ide-taskfile.c
include/linux/ide.h