diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 20:13:08 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 20:13:08 +0100 |
commit | 81ca691981da718727281238b435dcf1528d2fda (patch) | |
tree | 4c4845a77d94fe91bd7d1345bf9d992852b8d572 /drivers/ide/ide-taskfile.c | |
parent | 4f52a32994f9e05fb8ae1a9ba3f20cd0b55145b7 (diff) | |
download | kernel_samsung_smdk4412-81ca691981da718727281238b435dcf1528d2fda.zip kernel_samsung_smdk4412-81ca691981da718727281238b435dcf1528d2fda.tar.gz kernel_samsung_smdk4412-81ca691981da718727281238b435dcf1528d2fda.tar.bz2 |
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 063e0eb..c58edc8 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) tf->hob_lbam, tf->hob_lbah); #endif - if (IDE_CONTROL_REG) - hwif->OUTB(drive->ctl, IDE_CONTROL_REG); /* clear nIEN */ + ide_set_irq(drive, 1); if ((task->tf_flags & IDE_TFLAG_NO_SELECT_MASK) == 0) SELECT_MASK(drive, 0); |