aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/module.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2015-01-15 00:46:30 +0000
committerWarner Losh <imp@FreeBSD.org>2015-01-15 00:46:30 +0000
commitb03747e983d68eb429d2247cec626828ae9fd8ae (patch)
treecf8a7d2761c579bafe7167d96df4499407ecfed7 /sys/sys/module.h
parentaf8cf71035e4d2d399f5fcbea658e1ff547f2240 (diff)
downloadsrc-b03747e983d68eb429d2247cec626828ae9fd8ae.tar.gz
src-b03747e983d68eb429d2247cec626828ae9fd8ae.zip
Reserve and ignore the a new module metadata type MDT_PNP_INFO for
associating an optional PNP hint table with this module. In the future, when these are added, these changes will silently ignore the new type they would otherwise warn about. It will always be safe to ignore this data. Get this into the builds today for some future proofing. MFC After: 3 days
Notes
Notes: svn path=/head/; revision=277205
Diffstat (limited to 'sys/sys/module.h')
-rw-r--r--sys/sys/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/module.h b/sys/sys/module.h
index 782770a73df9..3baa755f5b49 100644
--- a/sys/sys/module.h
+++ b/sys/sys/module.h
@@ -35,6 +35,7 @@
#define MDT_DEPEND 1 /* argument is a module name */
#define MDT_MODULE 2 /* module declaration */
#define MDT_VERSION 3 /* module version(s) */
+#define MDT_PNP_INFO 4 /* Plug and play hints record */
#define MDT_STRUCT_VERSION 1 /* version of metadata structure */
#define MDT_SETNAME "modmetadata_set"