svn commit: r214068 - head/sys/dev/acpica
Jung-uk Kim
jkim at FreeBSD.org
Tue Oct 19 18:43:11 UTC 2010
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:
More information about the svn-src-head
mailing list