summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/isa/isa_machdep.h
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-10-26 01:28:07 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-10-26 01:28:07 +0000
commit17959c041a742b16ab2422cff8775ac92ff015c0 (patch)
tree7d12e180e149953a11188ca60919f41ff0cbaf0e /sys/arch/alpha/isa/isa_machdep.h
parent20e08fcb211a654a427c41d04318e7ae669d1a81 (diff)
First cut at a port of isadma and floppy driver. ok art@
From NetBSD via jay@rootaction.net
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 cf2ed3c0fc0..cba9d560f33 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.7 2000/11/16 04:33:47 ericj Exp $ */
+/* $OpenBSD: isa_machdep.h,v 1.8 2001/10/26 01:28:06 nate 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_alloc) __P((isa_chipset_tag_t *, int, 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_alloc(c, m, t, i) \
+ (*(c)->ic_intr_alloc)((c)->ic_v, (m), (t), (i))
#define __NO_ISA_INTR_CHECK