Source-Changes-HG archive

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

[src/trunk]: src/sys/dev DEV_VERBOSE_DEFINE - use MODULE_CLASS_DRIVER to matc...



details:   https://anonhg.NetBSD.org/src/rev/6649d1de1c08
branches:  trunk
changeset: 1012826:6649d1de1c08
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Aug 11 12:10:10 2020 +0000

description:
DEV_VERBOSE_DEFINE - use MODULE_CLASS_DRIVER to match the definition.

Catch up with previous to unbreak autoloading of verbose modules.
PR kern/55535

CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?

diffstat:

 sys/dev/dev_verbose.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 17fe14ef4268 -r 6649d1de1c08 sys/dev/dev_verbose.h
--- a/sys/dev/dev_verbose.h     Tue Aug 11 09:51:57 2020 +0000
+++ b/sys/dev/dev_verbose.h     Tue Aug 11 12:10:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dev_verbose.h,v 1.3 2020/08/03 18:19:35 uwe Exp $ */
+/*     $NetBSD: dev_verbose.h,v 1.4 2020/08/11 12:10:10 uwe Exp $ */
 
 /*
  * Redistribution and use in source and binary forms, with or without
@@ -96,7 +96,7 @@
 {                                                                      \
                                                                        \
        if (tag ## verbose_loaded == 0)                                 \
-               module_autoload(# tag "verbose", MODULE_CLASS_MISC);    \
+               module_autoload(# tag "verbose", MODULE_CLASS_DRIVER);  \
 }                                                                      \
                                                                        \
 static const char *                                                    \



Home | Main Index | Thread Index | Old Index