summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/magmareg.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-04-10 20:53:55 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-04-10 20:53:55 +0000
commitb87d8aad6f1343a2b36ff29986060ba762a45fbb (patch)
tree21dd950980778036b5e89b97f8fd841b4ff956ae /sys/arch/sparc/dev/magmareg.h
parent2d152c27f3b1a0ab189abf8353c05e196498d89e (diff)
generic soft interrupts support for sparc. Soft interrupt handlers are now
kept in a separate intrhand array, with their own enable bits so that soft interrupts sharing the same level only get invoked if really triggered. Inspired by NetBSD with significant changes. ok kettenis@
Diffstat (limited to 'sys/arch/sparc/dev/magmareg.h')
-rw-r--r--sys/arch/sparc/dev/magmareg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/magmareg.h b/sys/arch/sparc/dev/magmareg.h
index 4bedc5cd6cc..95613b07901 100644
--- a/sys/arch/sparc/dev/magmareg.h
+++ b/sys/arch/sparc/dev/magmareg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: magmareg.h,v 1.10 2008/11/29 01:55:06 ray Exp $ */
+/* $OpenBSD: magmareg.h,v 1.11 2009/04/10 20:53:51 miod Exp $ */
/*-
* Copyright (c) 1998 Iain Hibbert
@@ -110,7 +110,7 @@ struct magma_softc {
struct mbpp_softc *ms_mbpp;
struct intrhand ms_hardint; /* hard interrupt handler */
- struct intrhand ms_softint; /* soft interrupt handler */
+ void *ms_softint; /* soft interrupt handler */
};
#define MTTY_RBUF_SIZE (2 * 512)
@@ -191,7 +191,7 @@ void cd1400_enable_transmitter(struct cd1400 *, int);
int magma_match(struct device *, void *, void *);
void magma_attach(struct device *, struct device *, void *);
int magma_hard(void *);
-int magma_soft(void *);
+void magma_soft(void *);
int mtty_match(struct device *, void *, void *);
void mtty_attach(struct device *, struct device *, void *);