summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/isa/isa_machdep.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1998-06-29 05:32:58 +0000
committerJason Downs <downsj@cvs.openbsd.org>1998-06-29 05:32:58 +0000
commitd4c61825b8a47a2b5d7376e28809ece79a1746ef (patch)
treef35af3b84fcf9b572bbb9e129031db3644a32409 /sys/arch/alpha/isa/isa_machdep.h
parenta064358b7620366ced78ca694ebc5e2bfcf073cc (diff)
isa_intr_check(), alpha style.
Diffstat (limited to 'sys/arch/alpha/isa/isa_machdep.h')
-rw-r--r--sys/arch/alpha/isa/isa_machdep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/alpha/isa/isa_machdep.h b/sys/arch/alpha/isa/isa_machdep.h
index 4fa25b19952..6f3745d0bc6 100644
--- a/sys/arch/alpha/isa/isa_machdep.h
+++ b/sys/arch/alpha/isa/isa_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: isa_machdep.h,v 1.4 1997/01/24 19:57:24 niklas Exp $ */
+/* $OpenBSD: isa_machdep.h,v 1.5 1998/06/29 05:32:53 downsj Exp $ */
/* $NetBSD: isa_machdep.h,v 1.3 1996/11/19 04:53:07 cgd Exp $ */
/*
@@ -41,6 +41,7 @@ struct alpha_isa_chipset {
void *(*ic_intr_establish) __P((void *, int, int, int,
int (*)(void *), void *, char *));
void (*ic_intr_disestablish) __P((void *, void *));
+ int (*ic_intr_check) __P((void *, int, int));
};
/*
@@ -52,6 +53,8 @@ struct alpha_isa_chipset {
(*(c)->ic_intr_establish)((c)->ic_v, (i), (t), (l), (f), (a), (nm))
#define isa_intr_disestablish(c, h) \
(*(c)->ic_intr_disestablish)((c)->ic_v, (h))
+#define isa_intr_check(c, i, t) \
+ (*(c)->ic_intr_check)((c)->ic_v, (i), (t))
/*
* alpha-specific ISA functions.