From owner-cvs-all@FreeBSD.ORG Wed Jan 26 23:42:18 2005 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 E07F016A4CE; Wed, 26 Jan 2005 23:42:18 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5D4C43D46; Wed, 26 Jan 2005 23:42:18 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0QNgINL081248; Wed, 26 Jan 2005 23:42:18 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0QNgIA6081247; Wed, 26 Jan 2005 23:42:18 GMT (envelope-from phk) Message-Id: <200501262342.j0QNgIA6081247@repoman.freebsd.org> From: Poul-Henning Kamp Date: Wed, 26 Jan 2005 23:42:18 +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/dev/nmdm nmdm.c 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: Wed, 26 Jan 2005 23:42:19 -0000 phk 2005-01-26 23:42:18 UTC FreeBSD src repository Modified files: sys/dev/nmdm nmdm.c Log: If CDSR_OFLOW (stty dsrflow) is enabled on one or both sides of a null-modem tty device emulate the speed settings faithfully. The speed is emulated independently for the two directions, using the slower of the local sides ispeed and the remote sides ospeed. The emulated speed takes settings of bits/char, parity and stopbit into account. Inspired by: The BSD-DK Editor Celebrity Deathmatch Contest Revision Changes Path 1.34 +128 -14 src/sys/dev/nmdm/nmdm.c