Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2000 20:35:50 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        "Andrey A. Chernov" <ache@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/syscons syscons.c
Message-ID:  <Pine.BSF.4.21.0005012015570.3863-100000@alphplex.bde.org>
In-Reply-To: <200005010921.CAA25107@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 May 2000, Andrey A. Chernov wrote:

> ache        2000/05/01 02:21:09 PDT
> 
>   Modified files:
>     sys/dev/syscons      syscons.c 
>   Log:
>   Initialize t_timeout to -1 for console to set its default value once in ttyopen

Drivers shouldn't know about this wart.  It is hidden in ttymalloc()
except for special drivers (pty, syscons and pcvt).  It can be hidden
in ttyregister().  ttyregister() could also do other default
initializations, including bzeroing the tty struct and setting defaults
from <sys/ttydefaults.h>.

Bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005012015570.3863-100000>