Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/rockchip Back to aprint_debug for dumping clock...



details:   https://anonhg.NetBSD.org/src/rev/7f7e8d74ff9c
branches:  trunk
changeset: 365366:7f7e8d74ff9c
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 12 19:48:36 2018 +0000

description:
Back to aprint_debug for dumping clocks at attach

diffstat:

 sys/arch/arm/rockchip/rk_cru.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r aacc4f10c170 -r 7f7e8d74ff9c sys/arch/arm/rockchip/rk_cru.c
--- a/sys/arch/arm/rockchip/rk_cru.c    Sun Aug 12 19:28:41 2018 +0000
+++ b/sys/arch/arm/rockchip/rk_cru.c    Sun Aug 12 19:48:36 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_cru.c,v 1.5 2018/08/12 16:48:05 jmcneill Exp $ */
+/* $NetBSD: rk_cru.c,v 1.6 2018/08/12 19:48:36 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
 #include "opt_fdt_arm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_cru.c,v 1.5 2018/08/12 16:48:05 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_cru.c,v 1.6 2018/08/12 19:48:36 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -355,13 +355,13 @@
                default:                        type = "???"; break;
                }
 
-               aprint_normal_dev(sc->sc_dev,
+               aprint_debug_dev(sc->sc_dev,
                    "%3d %-14s %2s %-14s %-7s ",
                    clk->id,
                    clk->base.name,
                    clkp_parent ? "<-" : "",
                    clkp_parent ? clkp_parent->name : "",
                    type);
-               aprint_normal("%10d Hz\n", clk_get_rate(&clk->base));
+               aprint_debug("%10d Hz\n", clk_get_rate(&clk->base));
        }
 }



Home | Main Index | Thread Index | Old Index