97 fcsm_getinfo, /* get info */
98 nulldev, /* identify (obsolete) */
99 nulldev, /* probe (not required for self-identifying devices) */
100 fcsm_attach, /* attach */
101 fcsm_detach, /* detach */
102 nodev, /* reset */
103 &fcsm_cb_ops, /* char/block entry points structure for leaf drivers */
104 NULL, /* bus operations for nexus driver */
105 NULL /* power management */
106 };
107
108
109 struct modldrv modldrv = {
110 &mod_driverops,
111 FCSM_NAME_VERSION,
112 &fcsm_ops
113 };
114
115 struct modlinkage modlinkage = {
116 MODREV_1,
117 &modldrv,
118 NULL
119 };
120
121 static fc_ulp_modinfo_t fcsm_modinfo = {
122 &fcsm_modinfo, /* ulp_handle */
123 FCTL_ULP_MODREV_4, /* ulp_rev */
124 FC_TYPE_FC_SERVICES, /* ulp_type */
125 fcsm_name, /* ulp_name */
126 0, /* ulp_statec_mask: get all statec callbacks */
127 fcsm_port_attach, /* ulp_port_attach */
128 fcsm_port_detach, /* ulp_port_detach */
129 fcsm_port_ioctl, /* ulp_port_ioctl */
130 fcsm_els_cb, /* ulp_els_callback */
131 fcsm_data_cb, /* ulp_data_callback */
132 fcsm_statec_cb /* ulp_statec_callback */
133 };
134
135 struct fcsm_xlat_pkt_state {
136 uchar_t xlat_state;
137 int xlat_rval;
138 } fcsm_xlat_pkt_state [] = {
|
97 fcsm_getinfo, /* get info */
98 nulldev, /* identify (obsolete) */
99 nulldev, /* probe (not required for self-identifying devices) */
100 fcsm_attach, /* attach */
101 fcsm_detach, /* detach */
102 nodev, /* reset */
103 &fcsm_cb_ops, /* char/block entry points structure for leaf drivers */
104 NULL, /* bus operations for nexus driver */
105 NULL /* power management */
106 };
107
108
109 struct modldrv modldrv = {
110 &mod_driverops,
111 FCSM_NAME_VERSION,
112 &fcsm_ops
113 };
114
115 struct modlinkage modlinkage = {
116 MODREV_1,
117 { &modldrv, NULL }
118 };
119
120 static fc_ulp_modinfo_t fcsm_modinfo = {
121 &fcsm_modinfo, /* ulp_handle */
122 FCTL_ULP_MODREV_4, /* ulp_rev */
123 FC_TYPE_FC_SERVICES, /* ulp_type */
124 fcsm_name, /* ulp_name */
125 0, /* ulp_statec_mask: get all statec callbacks */
126 fcsm_port_attach, /* ulp_port_attach */
127 fcsm_port_detach, /* ulp_port_detach */
128 fcsm_port_ioctl, /* ulp_port_ioctl */
129 fcsm_els_cb, /* ulp_els_callback */
130 fcsm_data_cb, /* ulp_data_callback */
131 fcsm_statec_cb /* ulp_statec_callback */
132 };
133
134 struct fcsm_xlat_pkt_state {
135 uchar_t xlat_state;
136 int xlat_rval;
137 } fcsm_xlat_pkt_state [] = {
|