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 b609a581df44..727a67109ff0 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -97,7 +97,7 @@ static void ide_disk_init_mult_count(ide_drive_t *drive)
97 drive->mult_req = id[ATA_ID_MULTSECT] & 0xff; 97 drive->mult_req = id[ATA_ID_MULTSECT] & 0xff;
98 98
99 if (drive->mult_req) 99 if (drive->mult_req)
100 drive->special.b.set_multmode = 1; 100 drive->special_flags |= IDE_SFLAG_SET_MULTMODE;
101 } 101 }
102} 102}
103 103
@@ -1138,8 +1138,8 @@ static void ide_port_init_devices_data(ide_hwif_t *hwif)
1138 drive->hwif = hwif; 1138 drive->hwif = hwif;
1139 drive->ready_stat = ATA_DRDY; 1139 drive->ready_stat = ATA_DRDY;
1140 drive->bad_wstat = BAD_W_STAT; 1140 drive->bad_wstat = BAD_W_STAT;
1141 drive->special.b.recalibrate = 1; 1141 drive->special_flags = IDE_SFLAG_RECALIBRATE |
1142 drive->special.b.set_geometry = 1; 1142 IDE_SFLAG_SET_GEOMETRY;
1143 drive->name[0] = 'h'; 1143 drive->name[0] = 'h';
1144 drive->name[1] = 'd'; 1144 drive->name[1] = 'd';
1145 drive->name[2] = 'a' + j; 1145 drive->name[2] = 'a' + j;