aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r--drivers/ide/ide-io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index 6ff82d7055b..0e2b95ec08a 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -463,7 +463,7 @@ EXPORT_SYMBOL_GPL(ide_init_sg_cmd);
463static ide_startstop_t execute_drive_cmd (ide_drive_t *drive, 463static ide_startstop_t execute_drive_cmd (ide_drive_t *drive,
464 struct request *rq) 464 struct request *rq)
465{ 465{
466 ide_hwif_t *hwif = HWIF(drive); 466 ide_hwif_t *hwif = drive->hwif;
467 ide_task_t *task = rq->special; 467 ide_task_t *task = rq->special;
468 468
469 if (task) { 469 if (task) {
@@ -587,7 +587,7 @@ static ide_startstop_t start_request (ide_drive_t *drive, struct request *rq)
587 587
588#ifdef DEBUG 588#ifdef DEBUG
589 printk("%s: start_request: current=0x%08lx\n", 589 printk("%s: start_request: current=0x%08lx\n",
590 HWIF(drive)->name, (unsigned long) rq); 590 drive->hwif->name, (unsigned long) rq);
591#endif 591#endif
592 592
593 /* bail early if we've exceeded max_failures */ 593 /* bail early if we've exceeded max_failures */
@@ -833,7 +833,7 @@ plug_device_2:
833 */ 833 */
834static ide_startstop_t ide_dma_timeout_retry(ide_drive_t *drive, int error) 834static ide_startstop_t ide_dma_timeout_retry(ide_drive_t *drive, int error)
835{ 835{
836 ide_hwif_t *hwif = HWIF(drive); 836 ide_hwif_t *hwif = drive->hwif;
837 struct request *rq; 837 struct request *rq;
838 ide_startstop_t ret = ide_stopped; 838 ide_startstop_t ret = ide_stopped;
839 839
@@ -955,7 +955,7 @@ void ide_timer_expiry (unsigned long data)
955 * globally mask the specific IRQ: 955 * globally mask the specific IRQ:
956 */ 956 */
957 spin_unlock(&hwif->lock); 957 spin_unlock(&hwif->lock);
958 hwif = HWIF(drive); 958 hwif = drive->hwif;
959 /* disable_irq_nosync ?? */ 959 /* disable_irq_nosync ?? */
960 disable_irq(hwif->irq); 960 disable_irq(hwif->irq);
961 /* local CPU only, 961 /* local CPU only,