diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-11 10:17:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-11 10:17:41 +0000 |
commit | 2e1d5b7dae380d3073c3e3f72bf7a3c9b5da596f (patch) | |
tree | ba5dafdc0d615509ac0ff400310b2b5735831f9a /sys/arch | |
parent | ca9ff19887c8f2b865a16ee630a49c870a1e7cd4 (diff) |
tty_attach()
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme68k/dev/bugtty.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/cl.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/zs.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/dev/bugtty.c b/sys/arch/mvme68k/dev/bugtty.c index 4afc0bcc423..15f3ee7265d 100644 --- a/sys/arch/mvme68k/dev/bugtty.c +++ b/sys/arch/mvme68k/dev/bugtty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bugtty.c,v 1.3 1996/04/28 11:05:59 deraadt Exp $ */ +/* $OpenBSD: bugtty.c,v 1.4 1996/06/11 10:17:29 deraadt Exp $ */ /* * Copyright (c) 1995 Dale Rahn. @@ -177,6 +177,7 @@ bugttyopen(dev, flag, mode, p) tp = bugtty_tty[unit]; } else { tp = bugtty_tty[unit] = ttymalloc(); + tty_attach(tp); } tp->t_oproc = bugttyoutput; tp->t_param = NULL; diff --git a/sys/arch/mvme68k/dev/cl.c b/sys/arch/mvme68k/dev/cl.c index 9864297bec0..c0190d4d4b0 100644 --- a/sys/arch/mvme68k/dev/cl.c +++ b/sys/arch/mvme68k/dev/cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cl.c,v 1.13 1996/06/11 10:15:05 deraadt Exp $ */ +/* $OpenBSD: cl.c,v 1.14 1996/06/11 10:17:34 deraadt Exp $ */ /* * Copyright (c) 1995 Dale Rahn. All rights reserved. @@ -527,6 +527,7 @@ int clopen (dev, flag, mode, p) tp = cl->tty; } else { tp = cl->tty = ttymalloc(); + tty_attach(tp); } tp->t_oproc = clstart; tp->t_param = clparam; diff --git a/sys/arch/mvme68k/dev/zs.c b/sys/arch/mvme68k/dev/zs.c index 855d3f43c24..228b0b718c2 100644 --- a/sys/arch/mvme68k/dev/zs.c +++ b/sys/arch/mvme68k/dev/zs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zs.c,v 1.4 1996/06/11 10:15:38 deraadt Exp $ */ +/* $OpenBSD: zs.c,v 1.5 1996/06/11 10:17:40 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -331,6 +331,7 @@ zsopen(dev, flag, mode, p) zp = &sc->sc_zs[zsside(dev)]; if (zp->tty == NULL) { zp->tty = ttymalloc(); + tty_attach(zp->tty); zs_ttydef(zp); if (minor(dev) < NZSLINE) zs_tty[minor(dev)] = zp->tty; |