summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-15 21:21:50 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-15 21:21:50 +0200
commit0fd04dcc2ebb6ec9088c24b368b0ce1f42a98ef5 (patch)
treee0e3a2cfe7cdcc114a02f7404db67d630a2de3d5
parent6a732e11be1355baeeca7c47f19ab20e7baa6ce7 (diff)
downloadop-kernel-dev-0fd04dcc2ebb6ec9088c24b368b0ce1f42a98ef5.zip
op-kernel-dev-0fd04dcc2ebb6ec9088c24b368b0ce1f42a98ef5.tar.gz
ide: use ->OUTBSYNC in ide_set_irq()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--include/linux/ide.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 1c34314..4d1c971 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1340,7 +1340,8 @@ static inline void ide_set_irq(ide_drive_t *drive, int on)
{
ide_hwif_t *hwif = drive->hwif;
- hwif->OUTB(drive->ctl | (on ? 0 : 2), hwif->io_ports.ctl_addr);
+ hwif->OUTBSYNC(hwif, drive->ctl | (on ? 0 : 2),
+ hwif->io_ports.ctl_addr);
}
static inline u8 ide_read_status(ide_drive_t *drive)
OpenPOWER on IntegriCloud