提交 f1bbef63 编写于 作者: O Ondrej Zary 提交者: James Bottomley

aha1542: Convert aha1542_intr_reset to function

Convert aha1542_intr_reset macro to inline function
Signed-off-by: NOndrej Zary <linux@rainbow-software.org>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册