From owner-cvs-src@FreeBSD.ORG Tue Jan 18 20:18:47 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 75F1516A4CE; Tue, 18 Jan 2005 20:18:47 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6159143D3F; Tue, 18 Jan 2005 20:18:47 +0000 (GMT) (envelope-from jhb@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 j0IKIlBO077943; Tue, 18 Jan 2005 20:18:47 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0IKIliU077942; Tue, 18 Jan 2005 20:18:47 GMT (envelope-from jhb) Message-Id: <200501182018.j0IKIliU077942@repoman.freebsd.org> From: John Baldwin Date: Tue, 18 Jan 2005 20:18:46 +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_pci_link.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: Tue, 18 Jan 2005 20:18:47 -0000 jhb 2005-01-18 20:18:46 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_pci_link.c Log: - Add support for link devices where _CRS just outright fails to execute. For such devices, we require _PRS to exist and we warn if any of the resources in _PRS are not IRQ resources (since we'll have no way of knowing which of those resources to use without a working _CRS). When it does come time to set resources, we build up a resource buffer from scratch as we do for devices with _CRS that only have IRQ resources. - Fix a bug with setting extended IRQ resources where we set the IRQ value in the wrong resource structure meaning that whichever IRQ was listed in _PRS was used instead. This might fix some weird issues on certain boxes where IRQs > 16 don't seem to work when using ACPI. - Fix a bug with how we walked the resource buffer after _SRS to call config_intr() in that the 'end' variable was not properly updated, so we could either terminate the loop early or loop after the end of the buffer. Tested by: pjd Revision Changes Path 1.44 +147 -28 src/sys/dev/acpica/acpi_pci_link.c