diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-09-02 19:17:34 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-09-02 19:17:34 +0000 |
commit | db901281608f0c69c05dd9ab366155d3225f0fd2 (patch) | |
tree | 7a2608d6dcb635a62d8e1c2979ae0dee7f977a8e /sys/modules/bktr | |
parent | f3dcf66158f676bb2cac90e97fbf004a59ff8383 (diff) | |
download | src-db901281608f0c69c05dd9ab366155d3225f0fd2.tar.gz src-db901281608f0c69c05dd9ab366155d3225f0fd2.zip |
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.
Notes
Notes:
svn path=/head/; revision=65374
Diffstat (limited to 'sys/modules/bktr')
-rw-r--r-- | sys/modules/bktr/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/bktr/Makefile b/sys/modules/bktr/Makefile index a341d6a6bf3d..3c7e651b7377 100644 --- a/sys/modules/bktr/Makefile +++ b/sys/modules/bktr/Makefile @@ -14,7 +14,7 @@ .PATH: ${.CURDIR}/../../dev/bktr KMOD= bktr SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c \ - bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h \ + bktr.h opt_bktr.h smbus.h bus_if.h device_if.h \ pci_if.h vnode_if.h CLEANFILES= bktr.h smbus.h |