diff options
Diffstat (limited to 'usr/src/uts/common/io/pm.c')
| -rw-r--r-- | usr/src/uts/common/io/pm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/pm.c b/usr/src/uts/common/io/pm.c index c46ad7ea0a..d4cb7f0da0 100644 --- a/usr/src/uts/common/io/pm.c +++ b/usr/src/uts/common/io/pm.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -465,7 +465,9 @@ int pm_start_pm_walk(dev_info_t *dip, void *arg) { int cmd = *((int *)arg); +#ifdef PMDDEBUG char *cmdstr = pm_decode_cmd(cmd); +#endif if (!PM_GET_PM_INFO(dip) || PM_ISBC(dip)) return (DDI_WALK_CONTINUE); @@ -510,7 +512,9 @@ pm_stop_pm_walk(dev_info_t *dip, void *arg) { pm_info_t *info = PM_GET_PM_INFO(dip); int cmd = *((int *)arg); +#ifdef PMDDEBUG char *cmdstr = pm_decode_cmd(cmd); +#endif if (!info) return (DDI_WALK_CONTINUE); |
