summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbriggs <briggs@openbsd.org>1996-01-09 04:06:49 +0000
committerbriggs <briggs@openbsd.org>1996-01-09 04:06:49 +0000
commitea7b011acfdc61a0cb46be944fad302c274f3664 (patch)
tree5be8d8438e2d7f100ad237da0102eae7b9371990
parentAdd OpenBSD configuration, it's exactly like NetBSD. (diff)
downloadwireguard-openbsd-ea7b011acfdc61a0cb46be944fad302c274f3664.tar.xz
wireguard-openbsd-ea7b011acfdc61a0cb46be944fad302c274f3664.zip
spltty shouldn't need to block serial hard interrupts--just soft.
splimp can drop, too.
-rw-r--r--sys/arch/mac68k/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/include/param.h b/sys/arch/mac68k/include/param.h
index a1bef18a754..17db7eb4781 100644
--- a/sys/arch/mac68k/include/param.h
+++ b/sys/arch/mac68k/include/param.h
@@ -212,10 +212,10 @@
#define splsoftclock() spl1() /* disallow softclock */
#define splsoftnet() spl1() /* disallow network */
#define splclock() spl1() /* disallow clock interrupt */
+#define spltty() spl1() /* disallow tty (softserial&adb) interrupts */
#define splbio() spl2() /* disallow block I/O */
#define splnet() spl2() /* disallow network */
-#define spltty() spl4() /* disallow tty interrupts (serial) */
-#define splimp() spl4() /* disallow imput */
+#define splimp() spl2() /* disallow imput */
#define splhigh() spl7() /* disallow everything */
#define splsched() spl7() /* disallow scheduling */