diff options
Diffstat (limited to 'usr/src/uts/common/os/sunpm.c')
-rw-r--r-- | usr/src/uts/common/os/sunpm.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/usr/src/uts/common/os/sunpm.c b/usr/src/uts/common/os/sunpm.c index d7deefb099..84c0b9fbb6 100644 --- a/usr/src/uts/common/os/sunpm.c +++ b/usr/src/uts/common/os/sunpm.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -348,6 +348,13 @@ int autopm_enabled; pm_cpupm_t cpupm = PM_CPUPM_NOTSET; /* + * Defines the default mode of operation for CPU power management, + * either the polling implementation, or the event based dispatcher driven + * implementation. + */ +pm_cpupm_t cpupm_default_mode = PM_CPUPM_EVENT; + +/* * AutoS3 depends on autopm being enabled, and must be enabled by * PM_START_AUTOS3 command. */ @@ -2568,7 +2575,7 @@ pm_lower_power(dev_info_t *dip, int comp, int level) PMD(PMD_FAIL, ("%s: %s@%s(%s#%d) %s%s%s%s\n", pmf, PM_DEVICE(dip), !autopm_enabled ? "!autopm_enabled " : "", - !PM_CPUPM_ENABLED ? "!cpupm_enabled " : "", + !PM_POLLING_CPUPM ? "!cpupm_polling " : "", PM_CPUPM_DISABLED ? "cpupm_disabled " : "", pm_noinvol(dip) ? "pm_noinvol()" : "")) return (DDI_SUCCESS); |