Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Change some printfs to aprint_debug(9).
details: https://anonhg.NetBSD.org/src/rev/b13d57826f04
branches: trunk
changeset: 765748:b13d57826f04
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sat Jun 04 18:03:10 2011 +0000
description:
Change some printfs to aprint_debug(9).
diffstat:
sys/dev/acpi/acpi_cpu_pstate.c | 8 ++++----
sys/dev/acpi/acpi_cpu_tstate.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r a8622d4ab578 -r b13d57826f04 sys/dev/acpi/acpi_cpu_pstate.c
--- a/sys/dev/acpi/acpi_cpu_pstate.c Sat Jun 04 17:51:09 2011 +0000
+++ b/sys/dev/acpi/acpi_cpu_pstate.c Sat Jun 04 18:03:10 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_pstate.c,v 1.48 2011/04/01 11:46:57 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_pstate.c,v 1.49 2011/06/04 18:03:10 jruoho Exp $ */
/*-
* Copyright (c) 2010, 2011 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_pstate.c,v 1.48 2011/04/01 11:46:57 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_pstate.c,v 1.49 2011/06/04 18:03:10 jruoho Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -965,7 +965,7 @@
return 0;
fail:
- aprint_error_dev(sc->sc_dev, "failed "
+ aprint_debug_dev(sc->sc_dev, "failed "
"to get frequency (err %d)\n", rv);
mutex_enter(&sc->sc_mtx);
@@ -1099,7 +1099,7 @@
return;
fail:
- aprint_error_dev(sc->sc_dev, "failed to set "
+ aprint_debug_dev(sc->sc_dev, "failed to set "
"frequency to %u (err %d)\n", freq, rv);
mutex_enter(&sc->sc_mtx);
diff -r a8622d4ab578 -r b13d57826f04 sys/dev/acpi/acpi_cpu_tstate.c
--- a/sys/dev/acpi/acpi_cpu_tstate.c Sat Jun 04 17:51:09 2011 +0000
+++ b/sys/dev/acpi/acpi_cpu_tstate.c Sat Jun 04 18:03:10 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_tstate.c,v 1.27 2011/03/19 12:57:31 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_tstate.c,v 1.28 2011/06/04 18:03:10 jruoho Exp $ */
/*-
* Copyright (c) 2010 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_tstate.c,v 1.27 2011/03/19 12:57:31 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_tstate.c,v 1.28 2011/06/04 18:03:10 jruoho Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -740,7 +740,7 @@
return 0;
fail:
- aprint_error_dev(sc->sc_dev, "failed "
+ aprint_debug_dev(sc->sc_dev, "failed "
"to get T-state (err %d)\n", rv);
mutex_enter(&sc->sc_mtx);
@@ -881,7 +881,7 @@
return;
fail:
- aprint_error_dev(sc->sc_dev, "failed to "
+ aprint_debug_dev(sc->sc_dev, "failed to "
"throttle to %u %% (err %d)\n", percent, rv);
mutex_enter(&sc->sc_mtx);
Home |
Main Index |
Thread Index |
Old Index