Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/hpc/apm remove diagnostic printfs to make this compi...



details:   https://anonhg.NetBSD.org/src/rev/9517a2deb1a6
branches:  trunk
changeset: 781856:9517a2deb1a6
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 03 23:55:22 2012 +0000

description:
remove diagnostic printfs to make this compile again.

diffstat:

 sys/dev/hpc/apm/apmdev.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 4f573db83760 -r 9517a2deb1a6 sys/dev/hpc/apm/apmdev.c
--- a/sys/dev/hpc/apm/apmdev.c  Wed Oct 03 23:32:43 2012 +0000
+++ b/sys/dev/hpc/apm/apmdev.c  Wed Oct 03 23:55:22 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apmdev.c,v 1.26 2012/09/30 21:36:20 dsl Exp $ */
+/*     $NetBSD: apmdev.c,v 1.27 2012/10/03 23:55:22 christos Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: apmdev.c,v 1.26 2012/09/30 21:36:20 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: apmdev.c,v 1.27 2012/10/03 23:55:22 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_apm.h"
@@ -584,12 +584,6 @@
 ok:
        aprint_normal("Power Management spec V%d.%d", apm_majver, apm_minver);
        apm_inited = 1;
-#ifdef DIAGNOSTIC
-       if (sc->sc_detail & APM_BIOS_PM_DISABLED)
-               aprint_normal(" (BIOS mgmt disabled)");
-       if (sc->sc_detail & APM_BIOS_PM_DISENGAGED)
-               aprint_normal(" (BIOS managing devices)");
-#endif
 }
 
 static int



Home | Main Index | Thread Index | Old Index