diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:50 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:50 -0400 |
commit | 0fd04dcc2ebb6ec9088c24b368b0ce1f42a98ef5 (patch) | |
tree | e0e3a2cfe7cdcc114a02f7404db67d630a2de3d5 /include/linux/ide.h | |
parent | 6a732e11be1355baeeca7c47f19ab20e7baa6ce7 (diff) |
ide: use ->OUTBSYNC in ide_set_irq()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 1c3431469649..4d1c9714f1d9 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) | |||
1340 | { | 1340 | { |
1341 | ide_hwif_t *hwif = drive->hwif; | 1341 | ide_hwif_t *hwif = drive->hwif; |
1342 | 1342 | ||
1343 | hwif->OUTB(drive->ctl | (on ? 0 : 2), hwif->io_ports.ctl_addr); | 1343 | hwif->OUTBSYNC(hwif, drive->ctl | (on ? 0 : 2), |
1344 | hwif->io_ports.ctl_addr); | ||
1344 | } | 1345 | } |
1345 | 1346 | ||
1346 | static inline u8 ide_read_status(ide_drive_t *drive) | 1347 | static inline u8 ide_read_status(ide_drive_t *drive) |