diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 099a0fe1745b..591deda3f86a 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1347,7 +1347,8 @@ static void ide_init_port(ide_hwif_t *hwif, unsigned int port, | |||
1347 | (d->host_flags & IDE_HFLAG_FORCE_LEGACY_IRQS)) | 1347 | (d->host_flags & IDE_HFLAG_FORCE_LEGACY_IRQS)) |
1348 | hwif->irq = port ? 15 : 14; | 1348 | hwif->irq = port ? 15 : 14; |
1349 | 1349 | ||
1350 | hwif->host_flags = d->host_flags; | 1350 | /* ->host_flags may be set by ->init_iops (or even earlier...) */ |
1351 | hwif->host_flags |= d->host_flags; | ||
1351 | hwif->pio_mask = d->pio_mask; | 1352 | hwif->pio_mask = d->pio_mask; |
1352 | 1353 | ||
1353 | /* ->set_pio_mode for DTC2278 is currently limited to port 0 */ | 1354 | /* ->set_pio_mode for DTC2278 is currently limited to port 0 */ |