summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/spifvar.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/spifvar.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/spifvar.h')
-rw-r--r--sys/arch/sparc/dev/spifvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/spifvar.h b/sys/arch/sparc/dev/spifvar.h
index 28076a5c095..42a80e31d90 100644
--- a/sys/arch/sparc/dev/spifvar.h
+++ b/sys/arch/sparc/dev/spifvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spifvar.h,v 1.4 2006/06/02 20:00:54 miod Exp $ */
+/* $OpenBSD: spifvar.h,v 1.5 2009/04/10 20:53:51 miod Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -61,7 +61,7 @@ struct spif_softc {
struct device sc_dev; /* base device */
struct intrhand sc_stcih; /* stc interrupt vectoring */
struct intrhand sc_ppcih; /* ppc interrupt vectoring */
- struct intrhand sc_softih; /* hard interrupt vectoring */
+ void *sc_softih; /* soft interrupt vectoring */
int sc_rev; /* revision level */
int sc_osc; /* oscillator speed (hz) */
int sc_node; /* which sbus node */