diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 802a04ad6024..fee898c4a773 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -822,7 +822,7 @@ static void ide_port_tune_devices(ide_hwif_t *hwif) | |||
822 | for (unit = 0; unit < MAX_DRIVES; ++unit) { | 822 | for (unit = 0; unit < MAX_DRIVES; ++unit) { |
823 | ide_drive_t *drive = &hwif->drives[unit]; | 823 | ide_drive_t *drive = &hwif->drives[unit]; |
824 | 824 | ||
825 | if (hwif->no_io_32bit) | 825 | if (hwif->host_flags & IDE_HFLAG_NO_IO_32BIT) |
826 | drive->no_io_32bit = 1; | 826 | drive->no_io_32bit = 1; |
827 | else | 827 | else |
828 | drive->no_io_32bit = drive->id->dword_io ? 1 : 0; | 828 | drive->no_io_32bit = drive->id->dword_io ? 1 : 0; |
@@ -1300,6 +1300,8 @@ static void ide_port_init_devices(ide_hwif_t *hwif) | |||
1300 | drive->io_32bit = 1; | 1300 | drive->io_32bit = 1; |
1301 | if (hwif->host_flags & IDE_HFLAG_UNMASK_IRQS) | 1301 | if (hwif->host_flags & IDE_HFLAG_UNMASK_IRQS) |
1302 | drive->unmask = 1; | 1302 | drive->unmask = 1; |
1303 | if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS) | ||
1304 | drive->no_unmask = 1; | ||
1303 | if ((hwif->host_flags & IDE_HFLAG_NO_AUTOTUNE) == 0) | 1305 | if ((hwif->host_flags & IDE_HFLAG_NO_AUTOTUNE) == 0) |
1304 | drive->autotune = 1; | 1306 | drive->autotune = 1; |
1305 | } | 1307 | } |