From owner-cvs-all@FreeBSD.ORG Wed Jun 23 17:21:03 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 480B016A4CE; Wed, 23 Jun 2004 17:21:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40D7743D2F; Wed, 23 Jun 2004 17:21:03 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5NHL3UN087210; Wed, 23 Jun 2004 17:21:03 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5NHL2iJ087209; Wed, 23 Jun 2004 17:21:02 GMT (envelope-from jhb) Message-Id: <200406231721.i5NHL2iJ087209@repoman.freebsd.org> From: John Baldwin Date: Wed, 23 Jun 2004 17:21:02 +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/acpica acpi.c acpi_pcib.c acpi_resource.c acpivar.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, 23 Jun 2004 17:21:03 -0000 jhb 2004-06-23 17:21:02 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi.c acpi_pcib.c acpi_resource.c acpivar.h Log: - Defer BUS_CONFIG_INTR() on ACPI IRQ resources until the resources are actually used. For most ACPI devices this means deferring the call until bus_alloc_resource(). - Add a function acpi_config_intr() to call BUS_CONFIG_INTR() for an ACPI IRQ resource using the trigger mode and polarity information stored in the ACPI resource object. - Add a function acpi_lookup_irq_resource() to lookup the ACPI IRQ resource that corresponds to a specified rid and new-bus resource. - Have the ACPI PCI bridge driver call BUS_CONFIG_INTR() on interrupts that it routes through link devices. - Remove needactivate variable from acpi_alloc_resource() by changing the function not modify the flags variable but just mask off RF_ACTIVE when calling rman_reserve_resource(). Reviewed by: njl (1, an earlier version) Revision Changes Path 1.164 +47 -32 src/sys/dev/acpica/acpi.c 1.45 +5 -0 src/sys/dev/acpica/acpi_pcib.c 1.26 +88 -3 src/sys/dev/acpica/acpi_resource.c 1.73 +4 -0 src/sys/dev/acpica/acpivar.h