summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev/kd.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-03 16:05:01 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-03 16:05:01 +0000
commitf19f6f3c1fb3e32d0ec3a2cfc1155f5773773fac (patch)
treeebc4f86aa5ec5a8abcda7997297093a14dfb8d0b /sys/arch/sun3/dev/kd.c
parentcb307111a88f57667598461d6faaf39bff1ef2f8 (diff)
sync with 0430.
Diffstat (limited to 'sys/arch/sun3/dev/kd.c')
-rw-r--r--sys/arch/sun3/dev/kd.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/sun3/dev/kd.c b/sys/arch/sun3/dev/kd.c
index 61307b54697..862b831ae1f 100644
--- a/sys/arch/sun3/dev/kd.c
+++ b/sys/arch/sun3/dev/kd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: kd.c,v 1.14 1996/01/24 22:40:20 gwr Exp $ */
+/* $NetBSD: kd.c,v 1.16 1996/04/26 18:36:54 gwr Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@@ -329,10 +329,7 @@ kd_later(tpaddr)
s = spltty();
tp->t_state &= ~TS_BUSY;
- if (tp->t_line)
(*linesw[tp->t_line].l_start)(tp);
- else
- kdstart(tp);
splx(s);
}
@@ -360,7 +357,8 @@ static void kd_putfb(tp)
}
/*
- * Our "interrupt" routine for input.
+ * Our "interrupt" routine for input. This is called by
+ * the keyboard driver (dev/sun/kbd.c) at spltty.
*/
void
kd_input(c)
@@ -376,7 +374,7 @@ kd_input(c)
if ((tp->t_state & TS_ISOPEN) == 0)
return;
- ttyinput(c, kd->kd_tty);
+ (*linesw[tp->t_line].l_rint)(c, tp);
}