Make any PCI devices enumerated in ACPI tree honor do_power_resume as well.
This commit is contained in:
parent
68ea32374c
commit
3a7013e945
@ -190,7 +190,7 @@ acpi_pci_set_powerstate_method(device_t dev, device_t child, int state)
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user