From owner-cvs-src@FreeBSD.ORG Sun Nov 14 21:38:22 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE11716A4CE; Sun, 14 Nov 2004 21:38:22 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89BA943D1D; Sun, 14 Nov 2004 21:38:22 +0000 (GMT) (envelope-from marcel@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 iAELcMBd018563; Sun, 14 Nov 2004 21:38:22 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iAELcM5h018562; Sun, 14 Nov 2004 21:38:22 GMT (envelope-from marcel) Message-Id: <200411142138.iAELcM5h018562@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 14 Nov 2004 21:38:22 +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/uart uart_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 21:38:22 -0000 marcel 2004-11-14 21:38:22 UTC FreeBSD src repository Modified files: sys/dev/uart uart_subr.c Log: Make sure the baudrate specified with the BR tag is somewhat sane. A baudrate we consider insane is silently replaced with 0. When the baudrate is 0, we will not try to program the hardware. Instead we leave the communication speed unaltered, maximizing the chance to have a working console. Obviously this means we allow specifying a 0 baudrate for exactly that purpose. Revision Changes Path 1.3 +20 -0 src/sys/dev/uart/uart_subr.c