summaryrefslogtreecommitdiffstats
path: root/sys/modules/md
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-09-02 19:17:34 +0000
committerphk <phk@FreeBSD.org>2000-09-02 19:17:34 +0000
commite47f61e18396b6e5f61ee91b9f9f832976ee96cf (patch)
treebc17f23dc3fa3b9663516bac048049a5f02652ea /sys/modules/md
parent0ab175f21b9e105fcbe4db6569019e946f23e13c (diff)
downloadFreeBSD-src-e47f61e18396b6e5f61ee91b9f9f832976ee96cf.zip
FreeBSD-src-e47f61e18396b6e5f61ee91b9f9f832976ee96cf.tar.gz
Avoid the modules madness I inadvertently introduced by making the
cloning infrastructure standard in kern_conf. Modules are now the same with or without devfs support. If you need to detect if devfs is present, in modules or elsewhere, check the integer variable "devfs_present". This happily removes an ugly hack from kern/vfs_conf.c. This forces a rename of the eventhandler and the standard clone helper function. Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include like <sys/queue.h> Remove all #includes of opt_devfs.h they no longer matter.
Diffstat (limited to 'sys/modules/md')
-rw-r--r--sys/modules/md/Makefile2
-rw-r--r--sys/modules/md/opt_devfs.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/modules/md/Makefile b/sys/modules/md/Makefile
index 823e236..bbbec99 100644
--- a/sys/modules/md/Makefile
+++ b/sys/modules/md/Makefile
@@ -2,7 +2,7 @@
.PATH: ${.CURDIR}/../../dev/md
KMOD= md
-SRCS= md.c opt_mfs.h opt_md.h opt_devfs.h
+SRCS= md.c opt_mfs.h opt_md.h
NOMAN=
.include <bsd.kmod.mk>
diff --git a/sys/modules/md/opt_devfs.h b/sys/modules/md/opt_devfs.h
deleted file mode 100644
index 53bb6f3..0000000
--- a/sys/modules/md/opt_devfs.h
+++ /dev/null
@@ -1,2 +0,0 @@
-/* $FreeBSD$ */
-
OpenPOWER on IntegriCloud