summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc/dev/amd7930var.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/amd7930var.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/amd7930var.h')
-rw-r--r--sys/arch/sparc/dev/amd7930var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/amd7930var.h b/sys/arch/sparc/dev/amd7930var.h
index ccc2bead247..91ce71c2122 100644
--- a/sys/arch/sparc/dev/amd7930var.h
+++ b/sys/arch/sparc/dev/amd7930var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd7930var.h,v 1.7 2004/09/29 07:35:11 miod Exp $ */
+/* $OpenBSD: amd7930var.h,v 1.8 2009/04/10 20:53:51 miod Exp $ */
/* $NetBSD: amd7930var.h,v 1.3 1996/02/01 22:32:25 mycroft Exp $ */
/*
@@ -64,6 +64,7 @@ struct auio {
u_char *au_pend; /* end of play data */
struct intrhand au_ih;
+ void *au_swih; /* software interrupt cookie */
};
/*