55 dlcosmk_create_action, /* ippo_action_create */
56 dlcosmk_modify_action, /* ippo_action_modify */
57 dlcosmk_destroy_action, /* ippo_action_destroy */
58 dlcosmk_info, /* ippo_action_info */
59 dlcosmk_invoke_action /* ippo_action_invoke */
60 };
61
62 extern struct mod_ops mod_ippops;
63
64 /*
65 * Module linkage information for the kernel.
66 */
67 static struct modlipp modlipp = {
68 &mod_ippops,
69 D_SM_COMMENT,
70 &dlcosmk_ops
71 };
72
73 static struct modlinkage modlinkage = {
74 MODREV_1,
75 (void *)&modlipp,
76 NULL
77 };
78
79
80 int
81 _init(void)
82 {
83 return (mod_install(&modlinkage));
84 }
85
86 int
87 _fini(void)
88 {
89 return (mod_remove(&modlinkage));
90 }
91
92 int
93 _info(struct modinfo *modinfop)
94 {
95 return (mod_info(&modlinkage, modinfop));
96 }
|
55 dlcosmk_create_action, /* ippo_action_create */
56 dlcosmk_modify_action, /* ippo_action_modify */
57 dlcosmk_destroy_action, /* ippo_action_destroy */
58 dlcosmk_info, /* ippo_action_info */
59 dlcosmk_invoke_action /* ippo_action_invoke */
60 };
61
62 extern struct mod_ops mod_ippops;
63
64 /*
65 * Module linkage information for the kernel.
66 */
67 static struct modlipp modlipp = {
68 &mod_ippops,
69 D_SM_COMMENT,
70 &dlcosmk_ops
71 };
72
73 static struct modlinkage modlinkage = {
74 MODREV_1,
75 { (void *)&modlipp, NULL }
76 };
77
78
79 int
80 _init(void)
81 {
82 return (mod_install(&modlinkage));
83 }
84
85 int
86 _fini(void)
87 {
88 return (mod_remove(&modlinkage));
89 }
90
91 int
92 _info(struct modinfo *modinfop)
93 {
94 return (mod_info(&modlinkage, modinfop));
95 }
|