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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 7c1f1bf81836..d240f76b0da6 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -260,7 +260,7 @@ int ide_dev_read_id(ide_drive_t *drive, u8 cmd, u16 *id)
260 * during the identify phase that the IRQ handler isn't expecting. 260 * during the identify phase that the IRQ handler isn't expecting.
261 */ 261 */
262 if (io_ports->ctl_addr) 262 if (io_ports->ctl_addr)
263 tp_ops->set_irq(hwif, 0); 263 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS);
264 264
265 /* take a deep breath */ 265 /* take a deep breath */
266 msleep(50); 266 msleep(50);
@@ -628,7 +628,7 @@ static int ide_port_wait_ready(ide_hwif_t *hwif)
628 if ((drive->dev_flags & IDE_DFLAG_NOPROBE) == 0 || 628 if ((drive->dev_flags & IDE_DFLAG_NOPROBE) == 0 ||
629 (drive->dev_flags & IDE_DFLAG_PRESENT)) { 629 (drive->dev_flags & IDE_DFLAG_PRESENT)) {
630 SELECT_DRIVE(drive); 630 SELECT_DRIVE(drive);
631 hwif->tp_ops->set_irq(hwif, 1); 631 hwif->tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS);
632 mdelay(2); 632 mdelay(2);
633 rc = ide_wait_not_busy(hwif, 35000); 633 rc = ide_wait_not_busy(hwif, 35000);
634 if (rc) 634 if (rc)
@@ -845,7 +845,7 @@ static int init_irq (ide_hwif_t *hwif)
845 irq_handler = ide_intr; 845 irq_handler = ide_intr;
846 846
847 if (io_ports->ctl_addr) 847 if (io_ports->ctl_addr)
848 hwif->tp_ops->set_irq(hwif, 1); 848 hwif->tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS);
849 849
850 if (request_irq(hwif->irq, irq_handler, sa, hwif->name, hwif)) 850 if (request_irq(hwif->irq, irq_handler, sa, hwif->name, hwif))
851 goto out_up; 851 goto out_up;