aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:44 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:44 -0500
commitb187dfeed3be2fc879e904ed0b01d490d8866760 (patch)
tree3accf67a33f31a74e35e83a3c8bec52b79e1ebfc
parentc78d717210619c4312f791fb1da4dc1985630785 (diff)
ide-cris: use ide_execute_command()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--drivers/ide/cris/ide-cris.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c
index ac645263fd09..00587a8c2ba1 100644
--- a/drivers/ide/cris/ide-cris.c
+++ b/drivers/ide/cris/ide-cris.c
@@ -1034,11 +1034,7 @@ static int cris_dma_setup(ide_drive_t *drive)
1034 1034
1035static void cris_dma_exec_cmd(ide_drive_t *drive, u8 command) 1035static void cris_dma_exec_cmd(ide_drive_t *drive, u8 command)
1036{ 1036{
1037 /* set the irq handler which will finish the request when DMA is done */ 1037 ide_execute_command(drive, command, &cris_dma_intr, WAIT_CMD, NULL);
1038 ide_set_handler(drive, &cris_dma_intr, WAIT_CMD, NULL);
1039
1040 /* issue cmd to drive */
1041 cris_ide_outb(command, IDE_COMMAND_REG);
1042} 1038}
1043 1039
1044static void cris_dma_start(ide_drive_t *drive) 1040static void cris_dma_start(ide_drive_t *drive)