From owner-cvs-all@FreeBSD.ORG Sat Apr 1 19:04:55 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 290E916A401; Sat, 1 Apr 2006 19:04:55 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D287A43D45; Sat, 1 Apr 2006 19:04:54 +0000 (GMT) (envelope-from marcel@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 k31J4s6N047945; Sat, 1 Apr 2006 19:04:54 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k31J4sc1047944; Sat, 1 Apr 2006 19:04:54 GMT (envelope-from marcel) Message-Id: <200604011904.k31J4sc1047944@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 1 Apr 2006 19:04:54 +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_cpu.h uart_dev_ns8250.c uart_dev_sab82532.c uart_dev_z8530.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 01 Apr 2006 19:04:55 -0000 marcel 2006-04-01 19:04:54 UTC FreeBSD src repository Modified files: sys/dev/uart uart_cpu.h uart_dev_ns8250.c uart_dev_sab82532.c uart_dev_z8530.c Log: Don't hold the hardware mutex across getc(). It can wait indefinitely for a character to be received. Instead let getc() do any necesary locking. Revision Changes Path 1.10 +2 -6 src/sys/dev/uart/uart_cpu.h 1.18 +15 -5 src/sys/dev/uart/uart_dev_ns8250.c 1.14 +12 -4 src/sys/dev/uart/uart_dev_sab82532.c 1.16 +16 -5 src/sys/dev/uart/uart_dev_z8530.c