aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r--drivers/ide/ide-probe.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 4a33100a2314..004062b5751e 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -800,14 +800,9 @@ static int ide_probe_port(ide_hwif_t *hwif)
800 if (drive->present) 800 if (drive->present)
801 rc = 0; 801 rc = 0;
802 } 802 }
803 if (hwif->io_ports[IDE_CONTROL_OFFSET] && hwif->reset) { 803
804 printk(KERN_WARNING "%s: reset\n", hwif->name);
805 hwif->OUTB(12, hwif->io_ports[IDE_CONTROL_OFFSET]);
806 udelay(10);
807 hwif->OUTB(8, hwif->io_ports[IDE_CONTROL_OFFSET]);
808 (void)ide_busy_sleep(hwif);
809 }
810 local_irq_restore(flags); 804 local_irq_restore(flags);
805
811 /* 806 /*
812 * Use cached IRQ number. It might be (and is...) changed by probe 807 * Use cached IRQ number. It might be (and is...) changed by probe
813 * code above 808 * code above