Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nvidia tegra124_car(4): Attach rndsource synchr...



details:   https://anonhg.NetBSD.org/src/rev/1e99a7df7daa
branches:  trunk
changeset: 364362:1e99a7df7daa
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Mar 19 11:37:17 2022 +0000

description:
tegra124_car(4): Attach rndsource synchronously.

It looks like the original motivation for deferring to
config_interrupts was to wait until softint_establish worked.  But
this no longer needs to use softints to deliver the entropy, so
that's moot.

Doing this synchronously gives us a better chance for more entropy
earlier.

diffstat:

 sys/arch/arm/nvidia/tegra124_car.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dc32c5fdc0ce -r 1e99a7df7daa sys/arch/arm/nvidia/tegra124_car.c
--- a/sys/arch/arm/nvidia/tegra124_car.c        Sat Mar 19 11:37:05 2022 +0000
+++ b/sys/arch/arm/nvidia/tegra124_car.c        Sat Mar 19 11:37:17 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra124_car.c,v 1.23 2022/03/19 11:36:53 riastradh Exp $ */
+/* $NetBSD: tegra124_car.c,v 1.24 2022/03/19 11:37:17 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra124_car.c,v 1.23 2022/03/19 11:36:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra124_car.c,v 1.24 2022/03/19 11:37:17 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -785,7 +785,7 @@
 
        tegra124_car_init(sc);
 
-       config_interrupts(self, tegra124_car_rnd_attach);
+       tegra124_car_rnd_attach(self);
 }
 
 static void



Home | Main Index | Thread Index | Old Index