From owner-cvs-src@FreeBSD.ORG Wed Mar 2 11:30:15 2005 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 2C21716A4CE; Wed, 2 Mar 2005 11:30:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00C7943D48; Wed, 2 Mar 2005 11:30:15 +0000 (GMT) (envelope-from marius@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 j22BUEB4061778; Wed, 2 Mar 2005 11:30:14 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j22BUELp061777; Wed, 2 Mar 2005 11:30:14 GMT (envelope-from marius) Message-Id: <200503021130.j22BUELp061777@repoman.freebsd.org> From: Marius Strobl Date: Wed, 2 Mar 2005 11:30:14 +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_core.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: Wed, 02 Mar 2005 11:30:15 -0000 marius 2005-03-02 11:30:14 UTC FreeBSD src repository Modified files: sys/dev/uart uart_core.c Log: - Allocate the interrupt resource as RF_SHAREABLE allowing uart(4) to work with shared IRQs in case the bus code, MD interrupt code, etc. permits. Together with sys/sparc64/sparc64/intr_machdep.c rev. 1.21 this fixes an endless loop in uart_intr() when using the second NS16550 on the ISA bus of sparc64 machines. - Destroy the hardware mutex on detach and in case attaching fails. Approved by: marcel Revision Changes Path 1.13 +8 -2 src/sys/dev/uart/uart_core.c