diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-01-19 18:04:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-01-19 18:04:44 +0000 |
commit | f6270c2f79688843f6ad2eacba371d7d64ea3307 (patch) | |
tree | 2fb8847b17952b1db3157416a7803c5b17716add /sys/arch/arm | |
parent | e2a9fbe53d99c36f7375b6323252317c0a797696 (diff) |
s/KHZ/kHz/ and reduce dmesg spam a bit
ok tb@, deraadt@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/cortex/agtimer.c | 8 | ||||
-rw-r--r-- | sys/arch/arm/cortex/amptimer.c | 8 |
2 files changed, 8 insertions, 8 deletions
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 <drahn@openbsd.org> * Copyright (c) 2013 Patrick Wildt <patrick@blueri.se> @@ -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 <drahn@openbsd.org> * @@ -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 |