From owner-cvs-src-old@FreeBSD.ORG Sun Oct 18 19:53:10 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0188106568B for ; Sun, 18 Oct 2009 19:53:10 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2FE8FC19 for ; Sun, 18 Oct 2009 19:53:10 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9IJrAac034595 for ; Sun, 18 Oct 2009 19:53:10 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9IJrAuT034594 for cvs-src-old@freebsd.org; Sun, 18 Oct 2009 19:53:10 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200910181953.n9IJrAuT034594@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Sun, 18 Oct 2009 19:48:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc gettytab src/sys/kern tty.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 19:53:10 -0000 ed 2009-10-18 19:48:53 UTC FreeBSD src repository Modified files: etc gettytab sys/kern tty.c Log: SVN rev 198214 on 2009-10-18 19:48:53Z by ed Allow the buffer size to be configured for pseudo-like TTY devices. Devices that don't implement param() (which means they don't support hardware parameters such as flow control, baud rate) hardcode the baud rate to TTYDEF_SPEED. This means the buffer size cannot be configured, which is a little inconvenient when using canonical mode with big lines of input, etc. Make it adjustable, but do clamp it between B50 and B115200 to prevent awkward buffer sizes. Remove the baud rate assignment from /etc/gettytab. Trust the kernel to fill in a proper value. Reported by: Mikolaj Golub MFC after: 1 month Revision Changes Path 1.25 +1 -1 src/etc/gettytab 1.331 +13 -2 src/sys/kern/tty.c