From owner-svn-src-all@FreeBSD.ORG Tue Oct 19 18:43:11 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B531106564A; Tue, 19 Oct 2010 18:43:11 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4A1AB8FC16; Tue, 19 Oct 2010 18:43:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9JIhBPY023573; Tue, 19 Oct 2010 18:43:11 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9JIhBwK023571; Tue, 19 Oct 2010 18:43:11 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201010191843.o9JIhBwK023571@svn.freebsd.org> From: Jung-uk Kim Date: Tue, 19 Oct 2010 18:43:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r214068 - head/sys/dev/acpica X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 18:43:11 -0000 Author: jkim Date: Tue Oct 19 18:43:11 2010 New Revision: 214068 URL: http://svn.freebsd.org/changeset/base/214068 Log: Make any PCI devices enumerated in ACPI tree honor do_power_resume as well. Modified: head/sys/dev/acpica/acpi_pci.c Modified: head/sys/dev/acpica/acpi_pci.c ============================================================================== --- head/sys/dev/acpica/acpi_pci.c Tue Oct 19 18:32:01 2010 (r214067) +++ head/sys/dev/acpica/acpi_pci.c Tue Oct 19 18:43:11 2010 (r214068) @@ -190,7 +190,7 @@ acpi_pci_set_powerstate_method(device_t device_printf(dev, "Failed to set ACPI power state D%d on %s: %s\n", state, acpi_name(h), AcpiFormatException(status)); - if (old_state > state) + if (old_state > state && pci_do_power_resume) error = pci_set_powerstate_method(dev, child, state); out: