tech-kern archive

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

make devmon report attach events again



Hi tech-kern@,

devmon_insert() checks for NDRVCTL macro which was not included.

That file is generated by config(1), is it the right place to
include it here?

Index: subr_autoconf.c
===================================================================
RCS file: /cvsroot/src/sys/kern/subr_autoconf.c,v
retrieving revision 1.215
diff -u -p -r1.215 subr_autoconf.c
--- subr_autoconf.c     24 Apr 2011 18:46:22 -0000      1.215
+++ subr_autoconf.c     26 Apr 2011 08:48:36 -0000
@@ -83,6 +83,8 @@ __KERNEL_RCSID(0, "$NetBSD: subr_autocon
 #include "opt_ddb.h"
 #endif
 
+#include "drvctl.h"
+
 #include <sys/param.h>
 #include <sys/device.h>
 #include <sys/disklabel.h>


Home | Main Index | Thread Index | Old Index