summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/dev/cl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c
index 0d15542f16e..c79cf72daa4 100644
--- a/sys/arch/mvme88k/dev/cl.c
+++ b/sys/arch/mvme88k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl.c,v 1.26 2002/06/12 03:49:56 miod Exp $ */
+/* $OpenBSD: cl.c,v 1.27 2003/01/13 20:09:19 miod Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -59,7 +59,7 @@
#include <ddb/db_var.h>
#endif
-#define splcl() splx(IPL_TTY)
+#define splcl() spltty()
/* min timeout 0xa, what is a good value */
#define CL_TIMEOUT 0x10
@@ -1338,6 +1338,7 @@ clccparam(sc, par, channel)
sc->cl_reg->cl_cor4 = ints | CL_FIFO_CNT;
sc->cl_reg->cl_cor5 = ints | CL_FIFO_CNT;
+ splx(s);
return imask;
}