680 pool_attach, /* attach */
681 pool_detach, /* detach */
682 nodev, /* reset */
683 &pool_cb_ops, /* cb_ops */
684 (struct bus_ops *)NULL, /* bus_ops */
685 nulldev, /* power */
686 ddi_quiesce_not_needed, /* quiesce */
687 };
688
689 /*
690 * Module linkage information for the kernel
691 */
692 static struct modldrv modldrv = {
693 &mod_driverops, /* this one is a pseudo driver */
694 "pool driver",
695 &pool_ops
696 };
697
698 static struct modlinkage modlinkage = {
699 MODREV_1,
700 &modldrv,
701 NULL
702 };
703
704 int
705 _init(void)
706 {
707 return (mod_install(&modlinkage));
708 }
709
710 int
711 _fini(void)
712 {
713 return (mod_remove(&modlinkage));
714 }
715
716 int
717 _info(struct modinfo *modinfop)
718 {
719 return (mod_info(&modlinkage, modinfop));
720 }
|
680 pool_attach, /* attach */
681 pool_detach, /* detach */
682 nodev, /* reset */
683 &pool_cb_ops, /* cb_ops */
684 (struct bus_ops *)NULL, /* bus_ops */
685 nulldev, /* power */
686 ddi_quiesce_not_needed, /* quiesce */
687 };
688
689 /*
690 * Module linkage information for the kernel
691 */
692 static struct modldrv modldrv = {
693 &mod_driverops, /* this one is a pseudo driver */
694 "pool driver",
695 &pool_ops
696 };
697
698 static struct modlinkage modlinkage = {
699 MODREV_1,
700 { &modldrv, NULL }
701 };
702
703 int
704 _init(void)
705 {
706 return (mod_install(&modlinkage));
707 }
708
709 int
710 _fini(void)
711 {
712 return (mod_remove(&modlinkage));
713 }
714
715 int
716 _info(struct modinfo *modinfop)
717 {
718 return (mod_info(&modlinkage, modinfop));
719 }
|