144 0,
145 nodev,
146 nulldev,
147 nulldev,
148 fcoet_attach,
149 fcoet_detach,
150 nodev,
151 &fcoet_cb_ops,
152 NULL,
153 ddi_power,
154 ddi_quiesce_not_needed
155 };
156
157 static struct modldrv modldrv = {
158 &mod_driverops,
159 FCOET_MOD_NAME,
160 &fcoet_ops,
161 };
162
163 static struct modlinkage modlinkage = {
164 MODREV_1, &modldrv, NULL
165 };
166
167 /*
168 * Driver's global variables
169 */
170 static kmutex_t fcoet_mutex;
171 static void *fcoet_state = NULL;
172
173 int fcoet_use_ext_log = 1;
174 static char fcoet_provider_name[] = "fcoet";
175 static struct stmf_port_provider *fcoet_pp = NULL;
176
177 /*
178 * Common loadable module entry points _init, _fini, _info
179 */
180
181 int
182 _init(void)
183 {
184 int ret;
|
144 0,
145 nodev,
146 nulldev,
147 nulldev,
148 fcoet_attach,
149 fcoet_detach,
150 nodev,
151 &fcoet_cb_ops,
152 NULL,
153 ddi_power,
154 ddi_quiesce_not_needed
155 };
156
157 static struct modldrv modldrv = {
158 &mod_driverops,
159 FCOET_MOD_NAME,
160 &fcoet_ops,
161 };
162
163 static struct modlinkage modlinkage = {
164 MODREV_1, { &modldrv, NULL }
165 };
166
167 /*
168 * Driver's global variables
169 */
170 static kmutex_t fcoet_mutex;
171 static void *fcoet_state = NULL;
172
173 int fcoet_use_ext_log = 1;
174 static char fcoet_provider_name[] = "fcoet";
175 static struct stmf_port_provider *fcoet_pp = NULL;
176
177 /*
178 * Common loadable module entry points _init, _fini, _info
179 */
180
181 int
182 _init(void)
183 {
184 int ret;
|