From owner-cvs-src@FreeBSD.ORG Thu Mar 31 21:53: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 7FF5816A4CE; Thu, 31 Mar 2005 21:53:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 642D843D31; Thu, 31 Mar 2005 21:53: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 j2VLrFYO069167; Thu, 31 Mar 2005 21:53:15 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2VLrFt9069166; Thu, 31 Mar 2005 21:53:15 GMT (envelope-from marius) Message-Id: <200503312153.j2VLrFt9069166@repoman.freebsd.org> From: Marius Strobl Date: Thu, 31 Mar 2005 21:53:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/sparc64/sparc64 intr_machdep.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: Thu, 31 Mar 2005 21:53:15 -0000 marius 2005-03-31 21:53:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/sparc64/sparc64 intr_machdep.c Log: MFC: 1.20, 1.21 - Assorted style fixes and minor changes. - Allow multiple INTR_FAST handlers for the same source. The motivation for this are the on-board SCCs and UARTs that use a shared IRQ. - Rework the interrupt counting code to account for shared interrupts. - In case ithread_add_handler() failed in inthand_add() just return with the error code instead of setting up a non-fast handler regardless or setting up a non-fast handler instead of a fast handler. I can't think of a situation where the former behaviour would do the right thing. Approved by: re (kensmith, scottl) Revision Changes Path 1.19.2.1 +83 -64 src/sys/sparc64/sparc64/intr_machdep.c