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_MODULE_DEFINE - use MODULE_CLASS_DRIVER.
details: https://anonhg.NetBSD.org/src/rev/b5994c97f606
branches: trunk
changeset: 936771:b5994c97f606
user: uwe <uwe%NetBSD.org@localhost>
date: Mon Aug 03 18:19:35 2020 +0000
description:
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
diffstat:
sys/dev/dev_verbose.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 4e102205e996 -r b5994c97f606 sys/dev/dev_verbose.h
--- a/sys/dev/dev_verbose.h Mon Aug 03 17:35:28 2020 +0000
+++ b/sys/dev/dev_verbose.h Mon Aug 03 18:19:35 2020 +0000
@@ -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 @@
return ENOTTY; \
} \
} \
-MODULE(MODULE_CLASS_MISC, tag ## verbose, deps)
+MODULE(MODULE_CLASS_DRIVER, tag ## verbose, deps)
#endif /* KERNEL */
Home |
Main Index |
Thread Index |
Old Index