2 * Linkage information. Mostly this is Solaris specific, but not all.
3 * Code to do real work is in other files, this file just has the crap
4 * to get the real code loaded and called.
8 #include <sys/modctl.h>
9 #include <sys/cmn_err.h>
11 char *netatalk_version = VERSION;
13 extern struct modldrv tpi_ldrv;
14 extern struct modldrv dlpi_lstrmod;
16 static struct modlinkage ddp_linkage = {
20 (void *)&dlpi_lstrmod,
26 * While these are code, they're mostly related to linkage, so
32 cmn_err( CE_CONT, "?netatalk %s\n", netatalk_version );
33 return( mod_install( &ddp_linkage ));
37 _info( struct modinfo *modinfop )
39 return( mod_info( &ddp_linkage, modinfop ));
45 return( mod_remove( &ddp_linkage ));