From owner-cvs-all@FreeBSD.ORG Wed Dec 1 21:05:02 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 ABC6E16A4CE; Wed, 1 Dec 2004 21:05:02 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CA2D43D4C; Wed, 1 Dec 2004 21:05:02 +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 iB1L52cx017824; Wed, 1 Dec 2004 21:05:02 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB1L52xX017823; Wed, 1 Dec 2004 21:05:02 GMT (envelope-from jhb) Message-Id: <200412012105.iB1L52xX017823@repoman.freebsd.org> From: John Baldwin Date: Wed, 1 Dec 2004 21:05: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_pci_link.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, 01 Dec 2004 21:05:02 -0000 jhb 2004-12-01 21:05:02 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_pci_link.c Log: - Do a better job of handling any Dependent Functions (aka DPFs) that appear in the _PRS or _CRS of link devices. If faced with multiple DPFs in a _PRS, we just use the first one. We assume that if _CRS has DPF tags they only contain a single set since multiple DPFs wouldn't make any sense. In practice, the only DPFs I've seen so far for link devices are that the one IRQ resource is surrounded by a DPF tag pair for no apparent reason, and this should handle that case fine now. - Only allocate link structures for IRQ resources for link devices rather than allocating a link structure for every resource. Reviewed by: njl Tested by: phk Revision Changes Path 1.40 +218 -69 src/sys/dev/acpica/acpi_pci_link.c