summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-04-28 18:55:40 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-04-28 18:55:40 +0000
commit46b5a99c47d9e9af2e1493e6d329295f3936bc7c (patch)
tree1c9516a1ba19000e2733bd19970770fb9093f1c2 /sys/arch/sparc64
parent015640667fb7604fdaefee8237039ce534be494c (diff)
Rename IPL_SOFTSERIAL to IPL_SOFTTTY. Sprinkle some KNF while I'm there.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/include/intr.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/sys/arch/sparc64/include/intr.h b/sys/arch/sparc64/include/intr.h
index 6a920a5959c..d76c18db803 100644
--- a/sys/arch/sparc64/include/intr.h
+++ b/sys/arch/sparc64/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.10 2008/03/12 20:52:36 kettenis Exp $ */
+/* $OpenBSD: intr.h,v 1.11 2008/04/28 18:55:39 kettenis Exp $ */
/* $NetBSD: intr.h,v 1.8 2001/01/14 23:50:30 thorpej Exp $ */
/*-
@@ -79,7 +79,7 @@ void intr_establish(int, struct intrhand *);
#define IPL_SOFTNET 1 /* protocol stack */
#define IPL_BIO PIL_BIO /* block I/O */
#define IPL_NET PIL_NET /* network */
-#define IPL_SOFTSERIAL 4 /* serial */
+#define IPL_SOFTTTY 4 /* delayed terminal handling */
#define IPL_TTY PIL_TTY /* terminal */
#define IPL_VM PIL_VM /* memory allocation */
#define IPL_AUDIO PIL_AUD /* audio */
@@ -90,13 +90,8 @@ void intr_establish(int, struct intrhand *);
#define IPL_STATCLOCK PIL_STATCLOCK /* statclock */
#define IPL_HIGH PIL_HIGH /* everything */
-void *
-softintr_establish(int level, void (*fun)(void *), void *arg);
-
-void
-softintr_disestablish(void *cookie);
-
-void
-softintr_schedule(void *cookie);
+void *softintr_establish(int, void (*)(void *), void *);
+void softintr_disestablish(void *);
+void softintr_schedule(void *);
#endif /* _SPARC64_INTR_H_ */