*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> MODULE_DEPEND (9)              



NAME    [Toc]    [Back]

     MODULE_DEPEND -- set kernel module dependencies

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/module.h>

     MODULE_DEPEND(name, moddepend, int minversion, int prefversion,
	 int maxversion);

DESCRIPTION    [Toc]    [Back]

     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.

EXAMPLES    [Toc]    [Back]

     MODULE_DEPEND(foo, bar, 1, 3, 4);

SEE ALSO    [Toc]    [Back]

     DECLARE_MODULE(9), module(9), MODULE_VERSION(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Alexander Langer <alex@FreeBSD.org>.

FreeBSD 5.2.1			March 11, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
MODULE_VERSION FreeBSD set kernel module version
modunload OpenBSD unload a kernel module
modstat FreeBSD get status of kernel module
arp Linux Linux ARP kernel module.
modload OpenBSD load a kernel module
kmem_debug IRIX kernel memory debug module
insmod Linux install loadable kernel module
modfnext FreeBSD return the modid of the next kernel module
moduload HP-UX unload a kernel module on demand
DECLARE_MODULE FreeBSD kernel module declaration macro
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service