summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc/dev/magmareg.h
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-04-10 20:53:51 +0000
committermiod <miod@openbsd.org>2009-04-10 20:53:51 +0000
commitce682df79460935c71bd725b8ce919f804c0dba8 (patch)
treed19069bfc2fcffa70d6e7593ea5d2b63be979b15 /sys/arch/sparc/dev/magmareg.h
parentExplain the AUDIODEVICE env. variable similarly to how sio_open(3) does. (diff)
downloadwireguard-openbsd-ce682df79460935c71bd725b8ce919f804c0dba8.tar.xz
wireguard-openbsd-ce682df79460935c71bd725b8ce919f804c0dba8.zip
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 *);