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
commitc1c9dbc849c2d9d7cddd58a1de4f3bdd632c161f (patch)
tree09aef9b9638d6d98838cab7ea0f00e6a7f1bc7af
parentd9270a3f1d5b6f9de58250e8ecdba4c48c54c20b (diff)
ide-tape: 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/ide-tape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 5aef63acf1e8..eff118ba217c 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -2181,8 +2181,8 @@ static ide_startstop_t idetape_issue_packet_command (ide_drive_t *drive, idetape
2181 if (dma_ok) /* Will begin DMA later */ 2181 if (dma_ok) /* Will begin DMA later */
2182 set_bit(PC_DMA_IN_PROGRESS, &pc->flags); 2182 set_bit(PC_DMA_IN_PROGRESS, &pc->flags);
2183 if (test_bit(IDETAPE_DRQ_INTERRUPT, &tape->flags)) { 2183 if (test_bit(IDETAPE_DRQ_INTERRUPT, &tape->flags)) {
2184 ide_set_handler(drive, &idetape_transfer_pc, IDETAPE_WAIT_CMD, NULL); 2184 ide_execute_command(drive, WIN_PACKETCMD, &idetape_transfer_pc,
2185 hwif->OUTB(WIN_PACKETCMD, IDE_COMMAND_REG); 2185 IDETAPE_WAIT_CMD, NULL);
2186 return ide_started; 2186 return ide_started;
2187 } else { 2187 } else {
2188 hwif->OUTB(WIN_PACKETCMD, IDE_COMMAND_REG); 2188 hwif->OUTB(WIN_PACKETCMD, IDE_COMMAND_REG);