Date: Fri, 27 Jun 2014 23:12:24 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r267989 - projects/pmac_pmu/sys/dev/pci Message-ID: <201406272312.s5RNCOS5069437@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Fri Jun 27 23:12:24 2014 New Revision: 267989 URL: http://svnweb.freebsd.org/changeset/base/267989 Log: Move the resume to *after* the config restore. This matches existing behavior. Modified: projects/pmac_pmu/sys/dev/pci/pci.c Modified: projects/pmac_pmu/sys/dev/pci/pci.c ============================================================================== --- projects/pmac_pmu/sys/dev/pci/pci.c Fri Jun 27 23:11:13 2014 (r267988) +++ projects/pmac_pmu/sys/dev/pci/pci.c Fri Jun 27 23:12:24 2014 (r267989) @@ -3674,10 +3674,10 @@ pci_resume_child(device_t dev, device_t if (pci_do_power_resume) pci_set_power_child(dev, child, PCI_POWERSTATE_D0); - error = bus_generic_resume_child(dev, child); dinfo = device_get_ivars(child); pci_cfg_restore(child, dinfo); + error = bus_generic_resume_child(dev, child); return (error); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406272312.s5RNCOS5069437>