Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 18:43:11 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214068 - head/sys/dev/acpica
Message-ID:  <201010191843.o9JIhBwK023571@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010191843.o9JIhBwK023571>