Fix tty initialization. From Arne H Juul <arnej@fast.no>.

This commit is contained in:
eeh 2000-11-08 23:21:38 +00:00
parent 2775f3b901
commit c98778939f
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: biconsdev.c,v 1.3 2000/11/02 00:35:05 eeh Exp $ */
/* $NetBSD: biconsdev.c,v 1.4 2000/11/08 23:21:38 eeh Exp $ */
/*-
* Copyright (c) 1999
@ -103,6 +103,8 @@ biconsdevattach (n)
clalloc(&tp->t_canq, 1024, 1);
/* output queue doesn't need quoting */
clalloc(&tp->t_outq, 1024, 0);
/* Set default line discipline. */
tp->t_linesw = linesw[0];
tp->t_dev = makedev(34, 0);
tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED;

View File

@ -1,4 +1,4 @@
/* $NetBSD: rcons.c,v 1.46 2000/11/05 02:53:20 mhitch Exp $ */
/* $NetBSD: rcons.c,v 1.47 2000/11/08 23:21:38 eeh Exp $ */
/*
* Copyright (c) 1995
@ -268,6 +268,8 @@ rasterconsoleattach (n)
clalloc(&tp->t_canq, 1024, 1);
/* output queue doesn't need quoting */
clalloc(&tp->t_outq, 1024, 0);
/* Set default line discipline. */
tp->t_linesw = linesw[0];
#ifdef DEBUG
printf("rconsattach: %d raster consoles\n", n);
#endif