Sun Jul 19 06:31:13 2020 UTC ()
Call fdtbus_intr_init() during startup.


(simonb)
diff -r1.18 -r1.19 src/sys/arch/evbmips/cavium/machdep.c

cvs diff -r1.18 -r1.19 src/sys/arch/evbmips/cavium/machdep.c (expand / switch to context diff)
--- src/sys/arch/evbmips/cavium/machdep.c 2020/07/16 11:49:37 1.18
+++ src/sys/arch/evbmips/cavium/machdep.c 2020/07/19 06:31:13 1.19
@@ -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