249 };
250
251 static dacf_opset_t opsets[] = {
252 { "kb_config", kbconfig_op },
253 { "ms_config", msconfig_op },
254 { NULL, NULL }
255 };
256
257 struct dacfsw dacfsw = {
258 DACF_MODREV_1,
259 opsets,
260 };
261
262 static struct modldacf modldacf = {
263 &mod_dacfops, /* Type of module */
264 "Consconfig DACF",
265 &dacfsw
266 };
267
268 static struct modlinkage modlinkage = {
269 MODREV_1, (void *)&modldacf, NULL
270 };
271
272 int
273 _init(void) {
274 return (mod_install(&modlinkage));
275 }
276
277 int
278 _fini(void)
279 {
280 /*
281 * This modules state is held in the kernel by space.c
282 * allowing this module to be unloaded.
283 */
284 return (mod_remove(&modlinkage));
285 }
286
287 int
288 _info(struct modinfo *modinfop)
289 {
|
249 };
250
251 static dacf_opset_t opsets[] = {
252 { "kb_config", kbconfig_op },
253 { "ms_config", msconfig_op },
254 { NULL, NULL }
255 };
256
257 struct dacfsw dacfsw = {
258 DACF_MODREV_1,
259 opsets,
260 };
261
262 static struct modldacf modldacf = {
263 &mod_dacfops, /* Type of module */
264 "Consconfig DACF",
265 &dacfsw
266 };
267
268 static struct modlinkage modlinkage = {
269 MODREV_1, { (void *)&modldacf, NULL }
270 };
271
272 int
273 _init(void) {
274 return (mod_install(&modlinkage));
275 }
276
277 int
278 _fini(void)
279 {
280 /*
281 * This modules state is held in the kernel by space.c
282 * allowing this module to be unloaded.
283 */
284 return (mod_remove(&modlinkage));
285 }
286
287 int
288 _info(struct modinfo *modinfop)
289 {
|