From owner-cvs-all@FreeBSD.ORG Wed Mar 2 11:27:14 2005 Return-Path: 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 303B416A4F2; Wed, 2 Mar 2005 11:27:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1996D43D48; Wed, 2 Mar 2005 11:27:14 +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 j22BRDrp061613; Wed, 2 Mar 2005 11:27:13 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j22BRDVr061612; Wed, 2 Mar 2005 11:27:13 GMT (envelope-from marius) Message-Id: <200503021127.j22BRDVr061612@repoman.freebsd.org> From: Marius Strobl Date: Wed, 2 Mar 2005 11:27:13 +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/sparc64/sparc64 intr_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 02 Mar 2005 11:27:14 -0000 marius 2005-03-02 11:27:13 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 intr_machdep.c Log: - 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. [1] - Rework the interrupt counting code to account for shared interrupts. [1] - 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. Reviewed by: marcel [1] Based on: sys/i386/i386/intr_machdep.c [1] Revision Changes Path 1.21 +68 -48 src/sys/sparc64/sparc64/intr_machdep.c