diff options
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 2461245820b7..02240a3ee0fb 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -73,8 +73,8 @@ ide_startstop_t do_rw_taskfile (ide_drive_t *drive, ide_task_t *task) | |||
73 | } | 73 | } |
74 | } | 74 | } |
75 | 75 | ||
76 | if (task->tf_flags & IDE_TFLAG_FLAGGED) | 76 | if (task->ftf_flags & IDE_FTFLAG_FLAGGED) |
77 | task->tf_flags |= IDE_TFLAG_FLAGGED_SET_IN_FLAGS; | 77 | task->ftf_flags |= IDE_FTFLAG_SET_IN_FLAGS; |
78 | 78 | ||
79 | memcpy(&hwif->task, task, sizeof(*task)); | 79 | memcpy(&hwif->task, task, sizeof(*task)); |
80 | 80 | ||
@@ -551,10 +551,10 @@ int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg) | |||
551 | args.tf_flags |= (IDE_TFLAG_LBA48 | IDE_TFLAG_IN_HOB); | 551 | args.tf_flags |= (IDE_TFLAG_LBA48 | IDE_TFLAG_IN_HOB); |
552 | 552 | ||
553 | if (req_task->out_flags.all) { | 553 | if (req_task->out_flags.all) { |
554 | args.tf_flags |= IDE_TFLAG_FLAGGED; | 554 | args.ftf_flags |= IDE_FTFLAG_FLAGGED; |
555 | 555 | ||
556 | if (req_task->out_flags.b.data) | 556 | if (req_task->out_flags.b.data) |
557 | args.tf_flags |= IDE_TFLAG_OUT_DATA; | 557 | args.ftf_flags |= IDE_FTFLAG_OUT_DATA; |
558 | 558 | ||
559 | if (req_task->out_flags.b.nsector_hob) | 559 | if (req_task->out_flags.b.nsector_hob) |
560 | args.tf_flags |= IDE_TFLAG_OUT_HOB_NSECT; | 560 | args.tf_flags |= IDE_TFLAG_OUT_HOB_NSECT; |
@@ -582,7 +582,7 @@ int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg) | |||
582 | } | 582 | } |
583 | 583 | ||
584 | if (req_task->in_flags.b.data) | 584 | if (req_task->in_flags.b.data) |
585 | args.tf_flags |= IDE_TFLAG_IN_DATA; | 585 | args.ftf_flags |= IDE_FTFLAG_IN_DATA; |
586 | 586 | ||
587 | switch(req_task->data_phase) { | 587 | switch(req_task->data_phase) { |
588 | case TASKFILE_MULTI_OUT: | 588 | case TASKFILE_MULTI_OUT: |
@@ -647,7 +647,7 @@ int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg) | |||
647 | memcpy(req_task->hob_ports, &args.tf_array[0], HDIO_DRIVE_HOB_HDR_SIZE - 2); | 647 | memcpy(req_task->hob_ports, &args.tf_array[0], HDIO_DRIVE_HOB_HDR_SIZE - 2); |
648 | memcpy(req_task->io_ports, &args.tf_array[6], HDIO_DRIVE_TASK_HDR_SIZE); | 648 | memcpy(req_task->io_ports, &args.tf_array[6], HDIO_DRIVE_TASK_HDR_SIZE); |
649 | 649 | ||
650 | if ((args.tf_flags & IDE_TFLAG_FLAGGED_SET_IN_FLAGS) && | 650 | if ((args.ftf_flags & IDE_FTFLAG_SET_IN_FLAGS) && |
651 | req_task->in_flags.all == 0) { | 651 | req_task->in_flags.all == 0) { |
652 | req_task->in_flags.all = IDE_TASKFILE_STD_IN_FLAGS; | 652 | req_task->in_flags.all = IDE_TASKFILE_STD_IN_FLAGS; |
653 | if (drive->dev_flags & IDE_DFLAG_LBA48) | 653 | if (drive->dev_flags & IDE_DFLAG_LBA48) |