From owner-cvs-all@FreeBSD.ORG Wed Sep 10 15:49:39 2003 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 DA58316A4BF; Wed, 10 Sep 2003 15:49:39 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7158643F85; Wed, 10 Sep 2003 15:49:39 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h8AMnd0U033525; Wed, 10 Sep 2003 15:49:39 -0700 (PDT) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8AMncLN033520; Wed, 10 Sep 2003 15:49:38 -0700 (PDT) Message-Id: <200309102249.h8AMncLN033520@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 10 Sep 2003 15:49:38 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 interrupt.c nexus.c sapic.c src/sys/ia64/include sapicvar.h 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, 10 Sep 2003 22:49:40 -0000 marcel 2003/09/10 15:49:38 PDT FreeBSD src repository Modified files: sys/ia64/ia64 interrupt.c nexus.c sapic.c sys/ia64/include sapicvar.h Log: Rewrite the SAPIC initialization to always program the RTEs with what we think is the correct trigger mode and polarity. This allows us to implement BUS_CONFIG_INTR() as an update of the RTE in question. Consequently, we can trust the RTE when we enable an interrupt and avoids that we need to know about the trigger mode and polarity at that time. Revision Changes Path 1.41 +1 -18 src/sys/ia64/ia64/interrupt.c 1.6 +17 -4 src/sys/ia64/ia64/nexus.c 1.13 +75 -19 src/sys/ia64/ia64/sapic.c 1.4 +5 -5 src/sys/ia64/include/sapicvar.h