mirror of
https://github.com/torvalds/linux
synced 2024-10-24 12:17:07 +00:00
ide: use ->OUTBSYNC in ide_set_irq()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
6a732e11be
commit
0fd04dcc2e
|
@ -1340,7 +1340,8 @@ static inline void ide_set_irq(ide_drive_t *drive, int on)
|
||||||
{
|
{
|
||||||
ide_hwif_t *hwif = drive->hwif;
|
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)
|
static inline u8 ide_read_status(ide_drive_t *drive)
|
||||||
|
|
Loading…
Reference in a new issue