summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_drv.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-10 07:35:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-10 07:35:41 +0000
commit61d5ab3abf896151690f4270804aad7f8ead1911 (patch)
treeaed481f4e7ea9d3915da8d499f63b5b3db835f8c /sys/arch/i386/isa/pcvt/pcvt_drv.c
parent76fc5d8d8e79b754fba81a84bab2dffafe0910c1 (diff)
tty_attach()
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_drv.c')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_drv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_drv.c b/sys/arch/i386/isa/pcvt/pcvt_drv.c
index 110c112ae21..3e4044d3639 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_drv.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_drv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_drv.c,v 1.13 1996/05/25 22:17:55 deraadt Exp $ */
+/* $OpenBSD: pcvt_drv.c,v 1.14 1996/06/10 07:35:40 deraadt Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -245,6 +245,9 @@ pcattach(struct isa_device *dev)
#if PCVT_NETBSD > 100
vs[i].vs_tty = ttymalloc();
+#if PCVT_NETBSD >= 120
+ tty_attach(vs[i].vs_tty);
+#endif /* PCVT_NETBSD >= 120 */
#else /* !PCVT_NETBSD > 100 */
#if PCVT_NETBSD