diff options
Diffstat (limited to 'drivers/ide/ide-disk.c')
-rw-r--r-- | drivers/ide/ide-disk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 5fc4213437a5..7a15907dce1d 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c | |||
@@ -760,8 +760,7 @@ static void idedisk_add_settings(ide_drive_t *drive) | |||
760 | &drive->bios_sect, NULL); | 760 | &drive->bios_sect, NULL); |
761 | ide_add_setting(drive, "address", SETTING_RW, TYPE_BYTE, 0, 2, 1, 1, | 761 | ide_add_setting(drive, "address", SETTING_RW, TYPE_BYTE, 0, 2, 1, 1, |
762 | &drive->addressing, set_lba_addressing); | 762 | &drive->addressing, set_lba_addressing); |
763 | ide_add_setting(drive, "multcount", SETTING_RW, TYPE_BYTE, 0, | 763 | ide_add_setting(drive, "multcount", SETTING_RW, TYPE_BYTE, 0, 16, 1, 1, |
764 | drive->id[ATA_ID_MAX_MULTSECT] & 0xff, 1, 1, | ||
765 | &drive->mult_count, set_multcount); | 764 | &drive->mult_count, set_multcount); |
766 | ide_add_setting(drive, "nowerr", SETTING_RW, TYPE_BYTE, 0, 1, 1, 1, | 765 | ide_add_setting(drive, "nowerr", SETTING_RW, TYPE_BYTE, 0, 1, 1, 1, |
767 | &drive->nowerr, set_nowerr); | 766 | &drive->nowerr, set_nowerr); |