From owner-cvs-all@FreeBSD.ORG Tue May 4 14:02:57 2004 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 3105B16A4CF; Tue, 4 May 2004 14:02:57 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D2543D46; Tue, 4 May 2004 14:02:57 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i44L2uGe085837; Tue, 4 May 2004 14:02:56 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i44L2uk4085836; Tue, 4 May 2004 14:02:56 -0700 (PDT) (envelope-from jhb) Message-Id: <200405042102.i44L2uk4085836@repoman.freebsd.org> From: John Baldwin Date: Tue, 4 May 2004 14:02:56 -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/i386/i386 intr_machdep.c io_apic.c nexus.c src/sys/i386/include intr_machdep.h src/sys/i386/isa atpic.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: Tue, 04 May 2004 21:02:57 -0000 jhb 2004/05/04 14:02:56 PDT FreeBSD src repository Modified files: sys/i386/i386 intr_machdep.c io_apic.c nexus.c sys/i386/include intr_machdep.h sys/i386/isa atpic.c Log: - Add a new pic method pic_config_intr() to set the trigger mode and polarity for a specified IRQ. The intr_config_intr() function wraps this pic method hiding the IRQ to interrupt source lookup. - Add a config_intr() method to the atpic(4) driver that reconfigures the interrupt using the ELCR if possible and returns an error otherwise. - Add a config_intr() method to the apic(4) driver that just logs any requests that would change the existing programming under bootverbose. Currently, the only changes the apic(4) driver receives are due to bugs in the acpi(4) driver and its handling of link devices, hence the reason for such requests currently being ignored. - Have the nexus(4) driver on i386 implement the bus_config_intr() function by calling intr_config_intr(). Revision Changes Path 1.5 +11 -0 src/sys/i386/i386/intr_machdep.c 1.8 +39 -1 src/sys/i386/i386/io_apic.c 1.55 +10 -0 src/sys/i386/i386/nexus.c 1.4 +4 -0 src/sys/i386/include/intr_machdep.h 1.13 +60 -1 src/sys/i386/isa/atpic.c