From f6270c2f79688843f6ad2eacba371d7d64ea3307 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 19 Jan 2021 18:04:44 +0000 Subject: s/KHZ/kHz/ and reduce dmesg spam a bit ok tb@, deraadt@ --- sys/arch/arm/cortex/agtimer.c | 8 ++++---- sys/arch/arm/cortex/amptimer.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sys/arch/arm') diff --git a/sys/arch/arm/cortex/agtimer.c b/sys/arch/arm/cortex/agtimer.c index 5afed73b59f..a2bb0be956d 100644 --- a/sys/arch/arm/cortex/agtimer.c +++ b/sys/arch/arm/cortex/agtimer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: agtimer.c,v 1.10 2020/07/12 20:36:37 naddy Exp $ */ +/* $OpenBSD: agtimer.c,v 1.11 2021/01/19 18:04:43 kettenis Exp $ */ /* * Copyright (c) 2011 Dale Rahn * Copyright (c) 2013 Patrick Wildt @@ -154,7 +154,7 @@ agtimer_attach(struct device *parent, struct device *self, void *aux) OF_getpropint(sc->sc_node, "clock-frequency", agtimer_frequency); sc->sc_ticks_per_second = agtimer_frequency; - printf(": tick rate %d KHz\n", sc->sc_ticks_per_second /1000); + printf(": %d kHz\n", sc->sc_ticks_per_second / 1000); /* XXX: disable user access */ @@ -263,8 +263,8 @@ agtimer_set_clockrate(int32_t new_frequency) sc->sc_ticks_per_second = agtimer_frequency; agtimer_timecounter.tc_frequency = sc->sc_ticks_per_second; - printf("agtimer0: adjusting clock: new tick rate %d KHz\n", - sc->sc_ticks_per_second /1000); + printf("agtimer0: adjusting clock: new rate %d kHz\n", + sc->sc_ticks_per_second / 1000); } void diff --git a/sys/arch/arm/cortex/amptimer.c b/sys/arch/arm/cortex/amptimer.c index 546196c5473..7f85f00b312 100644 --- a/sys/arch/arm/cortex/amptimer.c +++ b/sys/arch/arm/cortex/amptimer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amptimer.c,v 1.9 2020/07/14 15:34:14 patrick Exp $ */ +/* $OpenBSD: amptimer.c,v 1.10 2021/01/19 18:04:43 kettenis Exp $ */ /* * Copyright (c) 2011 Dale Rahn * @@ -169,7 +169,7 @@ amptimer_attach(struct device *parent, struct device *self, void *args) panic("amptimer_attach: bus_space_map priv timer failed!"); sc->sc_ticks_per_second = amptimer_frequency; - printf(": tick rate %d KHz\n", sc->sc_ticks_per_second /1000); + printf(": %d kHz\n", sc->sc_ticks_per_second / 1000); sc->sc_ioh = ioh; sc->sc_pioh = pioh; @@ -331,8 +331,8 @@ amptimer_set_clockrate(int32_t new_frequency) sc->sc_ticks_per_second = amptimer_frequency; amptimer_timecounter.tc_frequency = sc->sc_ticks_per_second; - printf("amptimer0: adjusting clock: new tick rate %d KHz\n", - sc->sc_ticks_per_second /1000); + printf("amptimer0: adjusting clock: new rate %d kHz\n", + sc->sc_ticks_per_second / 1000); } void -- cgit v1.2.3