Author: jkim
Date: Wed Oct 20 16:40:14 2010
New Revision: 214109
URL: http://svn.freebsd.org/changeset/base/214109

Log:
  Do not apply do_power_resume for suspending P2P bridge as we did in r214064.

Modified:
  head/sys/dev/pci/pci_pci.c

Modified: head/sys/dev/pci/pci_pci.c
==============================================================================
--- head/sys/dev/pci/pci_pci.c  Wed Oct 20 12:38:05 2010        (r214108)
+++ head/sys/dev/pci/pci_pci.c  Wed Oct 20 16:40:14 2010        (r214109)
@@ -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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to