Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/cavium Call fdtbus_intr_init() during startup.



details:   https://anonhg.NetBSD.org/src/rev/648dc1a8c873
branches:  trunk
changeset: 1011976:648dc1a8c873
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Jul 19 06:31:13 2020 +0000

description:
Call fdtbus_intr_init() during startup.

diffstat:

 sys/arch/evbmips/cavium/machdep.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 3bc2df697d46 -r 648dc1a8c873 sys/arch/evbmips/cavium/machdep.c
--- a/sys/arch/evbmips/cavium/machdep.c Sat Jul 18 21:37:38 2020 +0000
+++ b/sys/arch/evbmips/cavium/machdep.c Sun Jul 19 06:31:13 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.18 2020/07/16 11:49:37 jmcneill Exp $    */
+/*     $NetBSD: machdep.c,v 1.19 2020/07/19 06:31:13 simonb Exp $      */
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -114,7 +114,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.18 2020/07/16 11:49:37 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.19 2020/07/19 06:31:13 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -154,6 +154,7 @@
 #include <evbmips/cavium/octeon_uboot.h>
 
 #include <dev/fdt/fdtvar.h>
+#include <dev/fdt/fdt_private.h>
 
 static void    mach_init_vector(void);
 static void    mach_init_bus_space(void);
@@ -459,6 +460,8 @@
         * that memory allocation is now safe.
         */
        octeon_configuration.mc_mallocsafe = 1;
+
+       fdtbus_intr_init();
 }
 
 void



Home | Main Index | Thread Index | Old Index