Honor hw.pci.do_power_nodriver on resume. Power-down devices without
driver attached.
This commit is contained in:
parent
00fdbea7b2
commit
75f5385157
@ -2988,6 +2988,8 @@ pci_resume(device_t dev)
|
||||
|
||||
/* Now the device is powered up, restore its config space. */
|
||||
pci_cfg_restore(child, dinfo);
|
||||
if (!device_is_attached(child))
|
||||
pci_cfg_save(child, dinfo, 1);
|
||||
}
|
||||
free(devlist, M_TEMP);
|
||||
return (bus_generic_resume(dev));
|
||||
|
Loading…
Reference in New Issue
Block a user