diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 7624b937398a..9d3482d907c9 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -114,7 +114,7 @@ static void ide_port_init_devices_data(ide_hwif_t *hwif) | |||
114 | memset(drive, 0, sizeof(*drive)); | 114 | memset(drive, 0, sizeof(*drive)); |
115 | 115 | ||
116 | drive->media = ide_disk; | 116 | drive->media = ide_disk; |
117 | drive->select.all = (unit<<4)|0xa0; | 117 | drive->select = (unit << 4) | ATA_DEVICE_OBS; |
118 | drive->hwif = hwif; | 118 | drive->hwif = hwif; |
119 | drive->ready_stat = ATA_DRDY; | 119 | drive->ready_stat = ATA_DRDY; |
120 | drive->bad_wstat = BAD_W_STAT; | 120 | drive->bad_wstat = BAD_W_STAT; |