NAME
MODULE_DEPEND
—
set kernel module
dependencies
SYNOPSIS
#include
<sys/module.h>
MODULE_DEPEND
(name,
moddepend,
int minversion,
int prefversion,
int maxversion);
DESCRIPTION
TheMODULE_DEPEND
()
macro sets a dependency of the module called name on
another kernel module moddepend, which has 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.
EXAMPLES
MODULE_DEPEND(foo, bar, 1, 3, 4);
SEE ALSO
AUTHORS
This manual page was written by Alexander Langer <alex@FreeBSD.org>.