Commit f1bbef63 authored by Ondrej Zary's avatar Ondrej Zary Committed by James Bottomley

aha1542: Convert aha1542_intr_reset to function

Convert aha1542_intr_reset macro to inline function
Signed-off-by: default avatarOndrej Zary <linux@rainbow-software.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJames Bottomley <JBottomley@Odin.com>
parent e98878f7
......@@ -128,7 +128,10 @@ static void setup_mailboxes(int base_io, struct Scsi_Host *shpnt);
static int aha1542_restart(struct Scsi_Host *shost);
static void aha1542_intr_handle(struct Scsi_Host *shost);
#define aha1542_intr_reset(base) outb(IRST, CONTROL(base))
static inline void aha1542_intr_reset(u16 base)
{
outb(IRST, CONTROL(base));
}
#define WAIT(port, mask, allof, noneof) \
{ register int WAITbits; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment