It turns out that a lot of newer systems have 'base peripherals' on
the PCI bus. We presently have no drivers for these devices, so they are powered down. This is undesirable behavior since it breaks the system when the base peripherals go away suddenly in the middle of boot. # if we ever get generic drivers for memory and/or base peripherals, then # we can remove the tests here.
This commit is contained in:
parent
d7a4686564
commit
0a1dc51947
@ -1934,7 +1934,8 @@ pci_cfg_save(device_t dev, struct pci_devinfo *dinfo, int setstate)
|
||||
* implement (a) we don't power the device down on a reattach.
|
||||
*/
|
||||
cls = pci_get_class(dev);
|
||||
if (setstate && cls != PCIC_DISPLAY && cls != PCIC_MEMORY) {
|
||||
if (setstate && cls != PCIC_DISPLAY && cls != PCIC_MEMORY &&
|
||||
cls != PCIC_BASEPERIPH) {
|
||||
/*
|
||||
* PCI spec is clear that we can only go into D3 state from
|
||||
* D0 state. Transition from D[12] into D0 before going
|
||||
|
Loading…
x
Reference in New Issue
Block a user