From owner-cvs-all@FreeBSD.ORG Thu Oct 21 12:24:39 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40DC116A4CE; Thu, 21 Oct 2004 12:24:39 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36EB743D3F; Thu, 21 Oct 2004 12:24:39 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9LCOdpE035625; Thu, 21 Oct 2004 12:24:39 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9LCOdqL035624; Thu, 21 Oct 2004 12:24:39 GMT (envelope-from phk) Message-Id: <200410211224.i9LCOdqL035624@repoman.freebsd.org> From: Poul-Henning Kamp Date: Thu, 21 Oct 2004 12:24:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys bufobj.h vnode.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 12:24:39 -0000 phk 2004-10-21 12:24:38 UTC FreeBSD src repository Modified files: sys/sys vnode.h Added files: sys/sys bufobj.h Log: Add new function ttyinitmode() which sets our systemwide default modes on a tty structure. Both the ".init" and the current settings are initialized allowing the function to be used both at attach and open time. The function takes an argument to decide if echoing should be enabled by default. Echoing should not be enabled for regular physical serial ports unless they are consoles, in which case they should be configured by ttyconsolemode() instead. Use the new function throughout. Revision Changes Path 1.1 +74 -0 src/sys/sys/bufobj.h (new) 1.245 +15 -7 src/sys/sys/vnode.h