diff options
author | jkim <jkim@FreeBSD.org> | 2010-10-20 16:40:14 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-10-20 16:40:14 +0000 |
commit | 995314da5fb054dcab0630293481767905c19a22 (patch) | |
tree | e73a54ee7287d1294e2b92c46ef9816835ad2a69 /sys/dev/pci/pci_pci.c | |
parent | cbffbbddb9f8c2d3d45f73bd48a7d8aa491903b8 (diff) | |
download | FreeBSD-src-995314da5fb054dcab0630293481767905c19a22.zip FreeBSD-src-995314da5fb054dcab0630293481767905c19a22.tar.gz |
Do not apply do_power_resume for suspending P2P bridge as we did in r214064.
Diffstat (limited to 'sys/dev/pci/pci_pci.c')
-rw-r--r-- | sys/dev/pci/pci_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index 9992b81..5dd8dbe 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -447,7 +447,7 @@ pcib_suspend(device_t dev) pcib_cfg_save(device_get_softc(dev)); error = bus_generic_suspend(dev); - if (error == 0 && pci_do_power_resume) { + if (error == 0) { dstate = PCI_POWERSTATE_D3; pcib = device_get_parent(device_get_parent(dev)); if (PCIB_POWER_FOR_SLEEP(pcib, dev, &dstate) == 0) |