spltty shouldn't need to block serial hard interrupts--just soft.
authorbriggs <briggs@openbsd.org>
Tue, 9 Jan 1996 04:06:49 +0000 (04:06 +0000)
committerbriggs <briggs@openbsd.org>
Tue, 9 Jan 1996 04:06:49 +0000 (04:06 +0000)
splimp can drop, too.

sys/arch/mac68k/include/param.h

index a1bef18..17db7eb 100644 (file)
 #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 */