aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/ide-taskfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c
index 16138bce84a7..2461245820b7 100644
--- a/drivers/ide/ide-taskfile.c
+++ b/drivers/ide/ide-taskfile.c
@@ -419,12 +419,14 @@ static ide_startstop_t task_out_intr (ide_drive_t *drive)
419 419
420static ide_startstop_t pre_task_out_intr(ide_drive_t *drive, struct request *rq) 420static ide_startstop_t pre_task_out_intr(ide_drive_t *drive, struct request *rq)
421{ 421{
422 ide_hwif_t *hwif = drive->hwif;
422 ide_startstop_t startstop; 423 ide_startstop_t startstop;
423 424
424 if (ide_wait_stat(&startstop, drive, ATA_DRQ, 425 if (ide_wait_stat(&startstop, drive, ATA_DRQ,
425 drive->bad_wstat, WAIT_DRQ)) { 426 drive->bad_wstat, WAIT_DRQ)) {
426 printk(KERN_ERR "%s: no DRQ after issuing %sWRITE%s\n", 427 printk(KERN_ERR "%s: no DRQ after issuing %sWRITE%s\n",
427 drive->name, drive->hwif->data_phase ? "MULT" : "", 428 drive->name,
429 hwif->data_phase == TASKFILE_MULTI_OUT ? "MULT" : "",
428 (drive->dev_flags & IDE_DFLAG_LBA48) ? "_EXT" : ""); 430 (drive->dev_flags & IDE_DFLAG_LBA48) ? "_EXT" : "");
429 return startstop; 431 return startstop;
430 } 432 }