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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 99972fe3e9e4..ace826f52811 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -827,8 +827,7 @@ static void ide_port_tune_devices(ide_hwif_t *hwif)
827 ide_drive_t *drive = &hwif->drives[unit]; 827 ide_drive_t *drive = &hwif->drives[unit];
828 828
829 if (drive->present) { 829 if (drive->present) {
830 if (drive->autotune) 830 ide_set_max_pio(drive);
831 ide_set_max_pio(drive);
832 831
833 drive->nice1 = 1; 832 drive->nice1 = 1;
834 833
@@ -1325,7 +1324,6 @@ static void ide_port_init_devices(ide_hwif_t *hwif)
1325 drive->unmask = 1; 1324 drive->unmask = 1;
1326 if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS) 1325 if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS)
1327 drive->no_unmask = 1; 1326 drive->no_unmask = 1;
1328 drive->autotune = 1;
1329 } 1327 }
1330 1328
1331 if (port_ops && port_ops->port_init_devs) 1329 if (port_ops && port_ops->port_init_devs)