Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2010 16:40:14 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214109 - head/sys/dev/pci
Message-ID:  <201010201640.o9KGeEG6062817@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010201640.o9KGeEG6062817>