diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ide.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 735737500f8f..74f1ef9c6d94 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1302,4 +1302,9 @@ static inline ide_drive_t *ide_get_paired_drive(ide_drive_t *drive) | |||
1302 | return &hwif->drives[(drive->dn ^ 1) & 1]; | 1302 | return &hwif->drives[(drive->dn ^ 1) & 1]; |
1303 | } | 1303 | } |
1304 | 1304 | ||
1305 | static inline void ide_set_irq(ide_drive_t *drive, int on) | ||
1306 | { | ||
1307 | drive->hwif->OUTB(drive->ctl | (on ? 0 : 2), IDE_CONTROL_REG); | ||
1308 | } | ||
1309 | |||
1305 | #endif /* _IDE_H */ | 1310 | #endif /* _IDE_H */ |