138 nulldev, /* devo_probe */
139 eibnx_attach, /* devo_attach */
140 eibnx_detach, /* devo_detach */
141 nodev, /* devo_reset */
142 &enx_cb_ops, /* devo_cb_ops */
143 &enx_bus_ops, /* devo_bus_ops */
144 nulldev, /* devo_power */
145 ddi_quiesce_not_needed /* devo_quiesce */
146 };
147
148 /*
149 * Module linkage information for the kernel
150 */
151 static struct modldrv enx_modldrv = {
152 &mod_driverops, /* Driver module */
153 "EoIB Nexus", /* Driver name and version */
154 &enx_ops, /* Driver ops */
155 };
156
157 static struct modlinkage enx_modlinkage = {
158 MODREV_1, (void *)&enx_modldrv, NULL
159 };
160
161 /*
162 * EoIB NDI events
163 */
164 static ndi_event_definition_t enx_ndi_event_defs[] = {
165 { ENX_EVENT_TAG_GW_INFO_UPDATE, EIB_NDI_EVENT_GW_INFO_UPDATE,
166 EPL_KERNEL, NDI_EVENT_POST_TO_TGT },
167 { ENX_EVENT_TAG_GW_AVAILABLE, EIB_NDI_EVENT_GW_AVAILABLE,
168 EPL_KERNEL, NDI_EVENT_POST_TO_TGT },
169 { ENX_EVENT_TAG_LOGIN_ACK, EIB_NDI_EVENT_LOGIN_ACK,
170 EPL_KERNEL, NDI_EVENT_POST_TO_TGT }
171 };
172 #define ENX_NUM_NDI_EVENTS \
173 (sizeof (enx_ndi_event_defs) / sizeof (enx_ndi_event_defs[0]))
174
175 static ndi_event_set_t enx_ndi_events = {
176 NDI_EVENTS_REV1,
177 ENX_NUM_NDI_EVENTS,
178 enx_ndi_event_defs
|
138 nulldev, /* devo_probe */
139 eibnx_attach, /* devo_attach */
140 eibnx_detach, /* devo_detach */
141 nodev, /* devo_reset */
142 &enx_cb_ops, /* devo_cb_ops */
143 &enx_bus_ops, /* devo_bus_ops */
144 nulldev, /* devo_power */
145 ddi_quiesce_not_needed /* devo_quiesce */
146 };
147
148 /*
149 * Module linkage information for the kernel
150 */
151 static struct modldrv enx_modldrv = {
152 &mod_driverops, /* Driver module */
153 "EoIB Nexus", /* Driver name and version */
154 &enx_ops, /* Driver ops */
155 };
156
157 static struct modlinkage enx_modlinkage = {
158 MODREV_1, { (void *)&enx_modldrv, NULL }
159 };
160
161 /*
162 * EoIB NDI events
163 */
164 static ndi_event_definition_t enx_ndi_event_defs[] = {
165 { ENX_EVENT_TAG_GW_INFO_UPDATE, EIB_NDI_EVENT_GW_INFO_UPDATE,
166 EPL_KERNEL, NDI_EVENT_POST_TO_TGT },
167 { ENX_EVENT_TAG_GW_AVAILABLE, EIB_NDI_EVENT_GW_AVAILABLE,
168 EPL_KERNEL, NDI_EVENT_POST_TO_TGT },
169 { ENX_EVENT_TAG_LOGIN_ACK, EIB_NDI_EVENT_LOGIN_ACK,
170 EPL_KERNEL, NDI_EVENT_POST_TO_TGT }
171 };
172 #define ENX_NUM_NDI_EVENTS \
173 (sizeof (enx_ndi_event_defs) / sizeof (enx_ndi_event_defs[0]))
174
175 static ndi_event_set_t enx_ndi_events = {
176 NDI_EVENTS_REV1,
177 ENX_NUM_NDI_EVENTS,
178 enx_ndi_event_defs
|