aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ide-scsi.c
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
commit2d6027f0877518c2ca8f3492e57ed5b182904a0c (patch)
tree75cecb73493694e40e103172ebad32d022e6ad52 /drivers/scsi/ide-scsi.c
parentc1c9dbc849c2d9d7cddd58a1de4f3bdd632c161f (diff)
ide-scsi: use ide_execute_command()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/scsi/ide-scsi.c')
-rw-r--r--drivers/scsi/ide-scsi.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c
index 5ed00069846d..7901272d9b3e 100644
--- a/drivers/scsi/ide-scsi.c
+++ b/drivers/scsi/ide-scsi.c
@@ -596,11 +596,8 @@ static ide_startstop_t idescsi_issue_pc (ide_drive_t *drive, idescsi_pc_t *pc)
596 set_bit(PC_DMA_OK, &pc->flags); 596 set_bit(PC_DMA_OK, &pc->flags);
597 597
598 if (test_bit(IDESCSI_DRQ_INTERRUPT, &scsi->flags)) { 598 if (test_bit(IDESCSI_DRQ_INTERRUPT, &scsi->flags)) {
599 BUG_ON(HWGROUP(drive)->handler != NULL); 599 ide_execute_command(drive, WIN_PACKETCMD, &idescsi_transfer_pc,
600 ide_set_handler(drive, &idescsi_transfer_pc, 600 get_timeout(pc), idescsi_expiry);
601 get_timeout(pc), idescsi_expiry);
602 /* Issue the packet command */
603 HWIF(drive)->OUTB(WIN_PACKETCMD, IDE_COMMAND_REG);
604 return ide_started; 601 return ide_started;
605 } else { 602 } else {
606 /* Issue the packet command */ 603 /* Issue the packet command */