Module Name:    src
Committed By:   uwe
Date:           Mon Aug  3 18:19:35 UTC 2020

Modified Files:
        src/sys/dev: dev_verbose.h

Log Message:
DEV_VERBOSE_MODULE_DEFINE - use MODULE_CLASS_DRIVER.

This makes built-in verbose modules available before the start of the
autoconfiguration, when they are needed.  From pgoyette@

PR kern/55535


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/dev_verbose.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/dev_verbose.h
diff -u src/sys/dev/dev_verbose.h:1.2 src/sys/dev/dev_verbose.h:1.3
--- src/sys/dev/dev_verbose.h:1.2	Fri Nov 13 01:37:19 2015
+++ src/sys/dev/dev_verbose.h	Mon Aug  3 18:19:35 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: dev_verbose.h,v 1.2 2015/11/13 01:37:19 christos Exp $ */
+/*	$NetBSD: dev_verbose.h,v 1.3 2020/08/03 18:19:35 uwe Exp $ */
 
 /*
  * Redistribution and use in source and binary forms, with or without
@@ -79,7 +79,7 @@ tag ## verbose_modcmd(modcmd_t cmd, void
 		return ENOTTY;						\
 	}								\
 }									\
-MODULE(MODULE_CLASS_MISC, tag ## verbose, deps)
+MODULE(MODULE_CLASS_DRIVER, tag ## verbose, deps)
 
 #endif /* KERNEL */
 

Reply via email to