diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:08 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:08 -0500 |
commit | 81ca691981da718727281238b435dcf1528d2fda (patch) | |
tree | 4c4845a77d94fe91bd7d1345bf9d992852b8d572 /drivers/ide/ide-taskfile.c | |
parent | 4f52a32994f9e05fb8ae1a9ba3f20cd0b55145b7 (diff) |
ide: add ide_set_irq() inline helper
There should be no functionality changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 063e0eb6c9e4..c58edc86ed3e 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -83,8 +83,7 @@ void ide_tf_load(ide_drive_t *drive, ide_task_t *task) | |||
83 | tf->hob_lbam, tf->hob_lbah); | 83 | tf->hob_lbam, tf->hob_lbah); |
84 | #endif | 84 | #endif |
85 | 85 | ||
86 | if (IDE_CONTROL_REG) | 86 | ide_set_irq(drive, 1); |
87 | hwif->OUTB(drive->ctl, IDE_CONTROL_REG); /* clear nIEN */ | ||
88 | 87 | ||
89 | if ((task->tf_flags & IDE_TFLAG_NO_SELECT_MASK) == 0) | 88 | if ((task->tf_flags & IDE_TFLAG_NO_SELECT_MASK) == 0) |
90 | SELECT_MASK(drive, 0); | 89 | SELECT_MASK(drive, 0); |