sys/dev/atm/hfa/fore_load.c
int
fore_mod(struct lkm_table *lkmtp, int cmd, int ver)
{
	DISPATCH(lkmtp, cmd, ver, fore_load, fore_unload, lkm_nullcmd);
}
/*
 * Loadable module support entry point
 * 
 * This is the routine called by the lkm driver for all loadable module
 * functions for this driver.  This routine name must be specified
 * on the modload(1) command.  This routine will be called whenever the
 * modload(1), modunload(1) or modstat(1) commands are issued for this
 * module.
 *
 * Arguments:
 *	lkmtp	pointer to lkm drivers's structure
 *	cmd	lkm command code
 *	ver	lkm version
 *
 * Returns:
 *	0 	command was successful 
 *	errno	command failed - reason indicated
 *
 */
Loadable module support entry point

This is the routine called by the lkm driver for all loadable module
functions for this driver.  This routine name must be specified
on the modload(1) command.  This routine will be called whenever the
modload(1), modunload(1) or modstat(1) commands are issued for this
module.

lkmtp   pointer to lkm drivers's structure
cmd     lkm command code
ver     lkm version

0       command was successful
errno   command failed - reason indicated
Loadable module support entry point This is the routine called by the lkm driver for all loadable module functions for this driver . This routine name must be specified on the modload ( 1 ) command . This routine will be called whenever the modload ( 1 ) modunload ( 1 ) or modstat ( 1 ) commands are issued for this module . lkmtp pointer to lkm drivers ' s structure cmd lkm command code ver lkm version 0 command was successful errno command failed - reason indicated
int
fore_mod(struct lkm_table *lkmtp, int cmd, int ver)
{
	DISPATCH(lkmtp, cmd, ver, fore_load, fore_unload, lkm_nullcmd);
}
int fore_mod ( struct lkm_table * lkmtp , int cmd , int ver ) { DISPATCH ( lkmtp , cmd , ver , fore_load , fore_unload , lkm_nullcmd ) ; }
Loadable module support entry point
Loadable module support entry point