diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ide-scsi.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index 27c01e368977..90212ac33be3 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c | |||
@@ -400,25 +400,25 @@ static int set_##name(ide_drive_t *drive, int arg) \ | |||
400 | return 0; \ | 400 | return 0; \ |
401 | } | 401 | } |
402 | 402 | ||
403 | #define ide_scsi_devset_rw(_name, _min, _max, _field) \ | 403 | #define ide_scsi_devset_rw_field(_name, _field) \ |
404 | ide_scsi_devset_get(_name, _field); \ | 404 | ide_scsi_devset_get(_name, _field); \ |
405 | ide_scsi_devset_set(_name, _field); \ | 405 | ide_scsi_devset_set(_name, _field); \ |
406 | IDE_DEVSET(_name, S_RW, _min, _max, get_##_name, set_##_name) | 406 | IDE_DEVSET(_name, DS_SYNC, get_##_name, set_##_name); |
407 | 407 | ||
408 | ide_devset_rw(bios_cyl, 0, 1023, bios_cyl); | 408 | ide_devset_rw_field(bios_cyl, bios_cyl); |
409 | ide_devset_rw(bios_head, 0, 255, bios_head); | 409 | ide_devset_rw_field(bios_head, bios_head); |
410 | ide_devset_rw(bios_sect, 0, 63, bios_sect); | 410 | ide_devset_rw_field(bios_sect, bios_sect); |
411 | 411 | ||
412 | ide_scsi_devset_rw(transform, 0, 3, transform); | 412 | ide_scsi_devset_rw_field(transform, transform); |
413 | ide_scsi_devset_rw(log, 0, 1, log); | 413 | ide_scsi_devset_rw_field(log, log); |
414 | 414 | ||
415 | static const struct ide_devset *idescsi_settings[] = { | 415 | static const struct ide_proc_devset idescsi_settings[] = { |
416 | &ide_devset_bios_cyl, | 416 | IDE_PROC_DEVSET(bios_cyl, 0, 1023), |
417 | &ide_devset_bios_head, | 417 | IDE_PROC_DEVSET(bios_head, 0, 255), |
418 | &ide_devset_bios_sect, | 418 | IDE_PROC_DEVSET(bios_sect, 0, 63), |
419 | &ide_devset_log, | 419 | IDE_PROC_DEVSET(log, 0, 1), |
420 | &ide_devset_transform, | 420 | IDE_PROC_DEVSET(transform, 0, 3), |
421 | NULL | 421 | { 0 }, |
422 | }; | 422 | }; |
423 | #endif | 423 | #endif |
424 | 424 | ||