MODULE_DEPEND man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

MODULE_DEPEND(9)	 BSD Kernel Developer's Manual	      MODULE_DEPEND(9)

     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 registered its version with MODULE_VERSION().

     The MODULE_DEPEND() macro provides hints to the kernel loader(8) and to
     the kernel linker to ensure that the named dependency is loaded prior to
     the existing module.  It does not change or dictate the order in which
     modules are initialized at runtime.

     Three versions must be specified for moddepend:

     minversion	  The minimum version on which the current module can depend.

     maxversion	  The maximum version on which the current module can depend.

     prefversion  The preferred version on which the current module can

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

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

     This manual page was written by Alexander Langer ⟨⟩.

BSD			       January 11, 2005				   BSD

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net