Date: Mon, 30 Jun 2014 19:30:24 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r268057 - projects/pmac_pmu/sys/kern Message-ID: <201406301930.s5UJUO1H075087@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Mon Jun 30 19:30:23 2014 New Revision: 268057 URL: http://svnweb.freebsd.org/changeset/base/268057 Log: Fix state -> flags from the SUSPENDED change to be a flag. Modified: projects/pmac_pmu/sys/kern/subr_bus.c Modified: projects/pmac_pmu/sys/kern/subr_bus.c ============================================================================== --- projects/pmac_pmu/sys/kern/subr_bus.c Mon Jun 30 19:09:24 2014 (r268056) +++ projects/pmac_pmu/sys/kern/subr_bus.c Mon Jun 30 19:30:23 2014 (r268057) @@ -3691,7 +3691,7 @@ bus_generic_suspend(device_t dev) return (0); TAILQ_FOREACH(child, &dev->children, link) { - if (!(child->state & DF_SUSPENDED)) + if (!(child->flags & DF_SUSPENDED)) error = bus_generic_suspend(child); if (error == 0) { if (child->pass >= bus_current_pass && child->state == DS_ATTACHED) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406301930.s5UJUO1H075087>