335 (struct cb_ops *)0,
336 &i8042_bus_ops,
337 NULL,
338 ddi_quiesce_not_needed,
339 };
340
341
342 /*
343 * module definitions:
344 */
345 #include <sys/modctl.h>
346 extern struct mod_ops mod_driverops;
347
348 static struct modldrv modldrv = {
349 &mod_driverops, /* Type of module. This one is a driver */
350 "i8042 nexus driver", /* Name of module. */
351 &i8042_ops, /* driver ops */
352 };
353
354 static struct modlinkage modlinkage = {
355 MODREV_1, (void *)&modldrv, NULL
356 };
357
358 int
359 _init(void)
360 {
361 int e;
362
363 /*
364 * Install the module.
365 */
366 e = mod_install(&modlinkage);
367 return (e);
368 }
369
370 int
371 _fini(void)
372 {
373 int e;
374
375 /*
|
335 (struct cb_ops *)0,
336 &i8042_bus_ops,
337 NULL,
338 ddi_quiesce_not_needed,
339 };
340
341
342 /*
343 * module definitions:
344 */
345 #include <sys/modctl.h>
346 extern struct mod_ops mod_driverops;
347
348 static struct modldrv modldrv = {
349 &mod_driverops, /* Type of module. This one is a driver */
350 "i8042 nexus driver", /* Name of module. */
351 &i8042_ops, /* driver ops */
352 };
353
354 static struct modlinkage modlinkage = {
355 MODREV_1, { (void *)&modldrv, NULL }
356 };
357
358 int
359 _init(void)
360 {
361 int e;
362
363 /*
364 * Install the module.
365 */
366 e = mod_install(&modlinkage);
367 return (e);
368 }
369
370 int
371 _fini(void)
372 {
373 int e;
374
375 /*
|