193 fcoe_attach,
194 fcoe_detach,
195 nodev,
196 &fcoe_cb_ops,
197 &fcoe_busops,
198 ddi_power,
199 ddi_quiesce_not_needed
200 };
201
202 #define FCOE_VERSION "20091123-1.02"
203 #define FCOE_NAME "FCoE Transport v" FCOE_VERSION
204 #define TASKQ_NAME_LEN 32
205
206 static struct modldrv modldrv = {
207 &mod_driverops,
208 FCOE_NAME,
209 &fcoe_ops,
210 };
211
212 static struct modlinkage modlinkage = {
213 MODREV_1, &modldrv, NULL
214 };
215
216 /*
217 * TRACE for all FCoE related modules
218 */
219 static kmutex_t fcoe_trace_buf_lock;
220 static int fcoe_trace_buf_curndx = 0;
221 static int fcoe_trace_on = 1;
222 static caddr_t fcoe_trace_buf = NULL;
223 static clock_t fcoe_trace_start = 0;
224 static caddr_t ftb = NULL;
225 static int fcoe_trace_buf_size = (1 * 1024 * 1024);
226
227 /*
228 * Driver's global variables
229 */
230 const fcoe_ver_e fcoe_ver_now = FCOE_VER_NOW;
231 static void *fcoe_state = NULL;
232 fcoe_soft_state_t *fcoe_global_ss = NULL;
233 int fcoe_use_ext_log = 1;
|
193 fcoe_attach,
194 fcoe_detach,
195 nodev,
196 &fcoe_cb_ops,
197 &fcoe_busops,
198 ddi_power,
199 ddi_quiesce_not_needed
200 };
201
202 #define FCOE_VERSION "20091123-1.02"
203 #define FCOE_NAME "FCoE Transport v" FCOE_VERSION
204 #define TASKQ_NAME_LEN 32
205
206 static struct modldrv modldrv = {
207 &mod_driverops,
208 FCOE_NAME,
209 &fcoe_ops,
210 };
211
212 static struct modlinkage modlinkage = {
213 MODREV_1, { &modldrv, NULL }
214 };
215
216 /*
217 * TRACE for all FCoE related modules
218 */
219 static kmutex_t fcoe_trace_buf_lock;
220 static int fcoe_trace_buf_curndx = 0;
221 static int fcoe_trace_on = 1;
222 static caddr_t fcoe_trace_buf = NULL;
223 static clock_t fcoe_trace_start = 0;
224 static caddr_t ftb = NULL;
225 static int fcoe_trace_buf_size = (1 * 1024 * 1024);
226
227 /*
228 * Driver's global variables
229 */
230 const fcoe_ver_e fcoe_ver_now = FCOE_VER_NOW;
231 static void *fcoe_state = NULL;
232 fcoe_soft_state_t *fcoe_global_ss = NULL;
233 int fcoe_use_ext_log = 1;
|