ide: use ide_complete_cmd() for head unload commands
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:41 +0000 (12:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:41 +0000 (12:46 +0100)
commite7fedc3ca0b8fcd3350a40c42a7100a9539e6c4a
tree84cd0b58c1c37a4f14f769555ea877b0f4e44efa
parent041cea10a86a25b088185d07ad15d728f503f02c
ide: use ide_complete_cmd() for head unload commands

Move handling of head unload commands from task_no_data_intr()
to ide_complete_cmd() and then use ide_complete_cmd() also for
head unload commands.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c
drivers/ide/ide-taskfile.c