summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/eisa/eisa_machdep.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-07-29 23:03:08 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-07-29 23:03:08 +0000
commita44b5fcb800906231bc17bdb31d6eeea483a10ec (patch)
treecd4546460f2d8700cd0a88f75124519574cb5cde /sys/arch/alpha/eisa/eisa_machdep.h
parentf31c391d4c0b8c92c2b95b7546af80ed7089ad4a (diff)
Add OpenBSD tags. Adapt to OpenBSD *_intr_establish calling convention
Diffstat (limited to 'sys/arch/alpha/eisa/eisa_machdep.h')
-rw-r--r--sys/arch/alpha/eisa/eisa_machdep.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/alpha/eisa/eisa_machdep.h b/sys/arch/alpha/eisa/eisa_machdep.h
index 0968ee61c9d..ce8ac9e426d 100644
--- a/sys/arch/alpha/eisa/eisa_machdep.h
+++ b/sys/arch/alpha/eisa/eisa_machdep.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: eisa_machdep.h,v 1.2 1996/07/29 22:58:21 niklas Exp $ */
/* $NetBSD: eisa_machdep.h,v 1.1 1996/04/12 05:39:51 cgd Exp $ */
/*
@@ -43,7 +44,7 @@ struct alpha_eisa_chipset {
eisa_intr_handle_t *));
const char *(*ec_intr_string) __P((void *, eisa_intr_handle_t));
void *(*ec_intr_establish) __P((void *, eisa_intr_handle_t,
- int, int, int (*)(void *), void *));
+ int, int, int (*)(void *), void *, char *));
void (*ec_intr_disestablish) __P((void *, void *));
};
@@ -58,7 +59,7 @@ struct alpha_eisa_chipset {
(*(c)->ec_intr_map)((c)->ec_v, (i), (hp))
#define eisa_intr_string(c, h) \
(*(c)->ec_intr_string)((c)->ec_v, (h))
-#define eisa_intr_establish(c, h, t, l, f, a) \
- (*(c)->ec_intr_establish)((c)->ec_v, (h), (t), (l), (f), (a))
+#define eisa_intr_establish(c, h, t, l, f, a, nm) \
+ (*(c)->ec_intr_establish)((c)->ec_v, (h), (t), (l), (f), (a), (nm))
#define eisa_intr_disestablish(c, h) \
(*(c)->ec_intr_disestablish)((c)->ec_v, (h))