diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 427d1c204174..1b7b4c531bc2 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -858,6 +858,15 @@ static void probe_hwif(ide_hwif_t *hwif) | |||
858 | } | 858 | } |
859 | } | 859 | } |
860 | } | 860 | } |
861 | |||
862 | for (unit = 0; unit < MAX_DRIVES; ++unit) { | ||
863 | ide_drive_t *drive = &hwif->drives[unit]; | ||
864 | |||
865 | if (hwif->no_io_32bit) | ||
866 | drive->no_io_32bit = 1; | ||
867 | else | ||
868 | drive->no_io_32bit = drive->id->dword_io ? 1 : 0; | ||
869 | } | ||
861 | } | 870 | } |
862 | 871 | ||
863 | static int hwif_init(ide_hwif_t *hwif); | 872 | static int hwif_init(ide_hwif_t *hwif); |