From owner-cvs-src@FreeBSD.ORG Wed Mar 28 18:35:04 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B62EC16A402; Wed, 28 Mar 2007 18:35:04 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8F51513C487; Wed, 28 Mar 2007 18:35:04 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2SIYxgN078222; Wed, 28 Mar 2007 18:34:59 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2SIYxh1078221; Wed, 28 Mar 2007 18:34:59 GMT (envelope-from marcel) Message-Id: <200703281834.l2SIYxh1078221@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 28 Mar 2007 18:34:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/uart uart_dev_ns8250.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 28 Mar 2007 18:35:04 -0000 marcel 2007-03-28 18:34:59 UTC FreeBSD src repository Modified files: sys/dev/uart uart_dev_ns8250.c Log: For embedded UARTs compatible with the ns8250 family it is possible that the driver clock is identical to the processor or bus clock. This is the case for the PowerQUICC processor. When the clock is high enough, overflows happen in the calculation of the time it takes to send 1/10 of a character, used in delay loops. Fix the overflows so as to fix bugs in the delay loops that can cause either insufficient delays or excessive delays. Revision Changes Path 1.25 +3 -1 src/sys/dev/uart/uart_dev_ns8250.c