diff options
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r-- | drivers/ide/ide-io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index 6ee7458d34ed..f4f7e3db10ac 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c | |||
@@ -232,9 +232,9 @@ static ide_startstop_t ide_start_power_step(ide_drive_t *drive, struct request * | |||
232 | return ide_stopped; | 232 | return ide_stopped; |
233 | 233 | ||
234 | out_do_tf: | 234 | out_do_tf: |
235 | args->tf_flags = IDE_TFLAG_OUT_TF | IDE_TFLAG_OUT_DEVICE; | 235 | args->tf_flags = IDE_TFLAG_OUT_TF | IDE_TFLAG_OUT_DEVICE; |
236 | args->command_type = IDE_DRIVE_TASK_NO_DATA; | 236 | args->data_phase = TASKFILE_NO_DATA; |
237 | args->handler = task_no_data_intr; | 237 | args->handler = task_no_data_intr; |
238 | return do_rw_taskfile(drive, args); | 238 | return do_rw_taskfile(drive, args); |
239 | } | 239 | } |
240 | 240 | ||
@@ -672,7 +672,7 @@ static ide_startstop_t ide_disk_special(ide_drive_t *drive) | |||
672 | ide_task_t args; | 672 | ide_task_t args; |
673 | 673 | ||
674 | memset(&args, 0, sizeof(ide_task_t)); | 674 | memset(&args, 0, sizeof(ide_task_t)); |
675 | args.command_type = IDE_DRIVE_TASK_NO_DATA; | 675 | args.data_phase = TASKFILE_NO_DATA; |
676 | 676 | ||
677 | if (s->b.set_geometry) { | 677 | if (s->b.set_geometry) { |
678 | s->b.set_geometry = 0; | 678 | s->b.set_geometry = 0; |