Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/ti Add a line break before rnd_attach_source so...
details: https://anonhg.NetBSD.org/src/rev/833bda1ebf6e
branches: trunk
changeset: 1010727:833bda1ebf6e
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed Jun 03 15:59:22 2020 +0000
description:
Add a line break before rnd_attach_source so the "entropy: ready" announcement does not get mixed with device prints
diffstat:
sys/arch/arm/ti/ti_rng.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r a30cf24d60e6 -r 833bda1ebf6e sys/arch/arm/ti/ti_rng.c
--- a/sys/arch/arm/ti/ti_rng.c Wed Jun 03 15:47:22 2020 +0000
+++ b/sys/arch/arm/ti/ti_rng.c Wed Jun 03 15:59:22 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ti_rng.c,v 1.3 2020/04/30 03:40:53 riastradh Exp $ */
+/* $NetBSD: ti_rng.c,v 1.4 2020/06/03 15:59:22 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ti_rng.c,v 1.3 2020/04/30 03:40:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ti_rng.c,v 1.4 2020/06/03 15:59:22 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -112,12 +112,12 @@
TRNG_CONTROL_ENABLE);
}
+ aprint_naive("\n");
+ aprint_normal(": RNG\n");
+
rndsource_setcb(&sc->sc_rndsource, ti_rng_callback, sc);
rnd_attach_source(&sc->sc_rndsource, device_xname(self), RND_TYPE_RNG,
RND_FLAG_COLLECT_VALUE|RND_FLAG_HASCB);
-
- aprint_naive("\n");
- aprint_normal(": RNG\n");
}
static void
Home |
Main Index |
Thread Index |
Old Index