|
MODULE_DEPEND(9)
Contents
|
MODULE_DEPEND -- set kernel module dependencies
#include <sys/param.h>
#include <sys/module.h>
MODULE_DEPEND(name, moddepend, int minversion, int prefversion,
int maxversion);
The MODULE_DEPEND() macro sets a dependency on another kernel module with
name moddepend, which has been registered its version with
MODULE_VERSION(). Three versions must be specified on which the module
can depend: The minimal and maximal versions this module can depend on as
well as the preferred version.
MODULE_DEPEND(foo, bar, 1, 3, 4);
DECLARE_MODULE(9), module(9), MODULE_VERSION(9)
This manual page was written by Alexander Langer <[email protected]>.
FreeBSD 5.2.1 March 11, 2001 FreeBSD 5.2.1 [ Back ] |