Skip to content

Commit

Permalink
ide: use ->OUTBSYNC in ide_set_irq()
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 15, 2008
1 parent 6a732e1 commit 0fd04dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0fd04dc

Please sign in to comment.