156 static int ibdm_serv_cmp(ibdm_srvents_info_t *, ibdm_srvents_info_t *,
157 int);
158 static ibdm_ioc_info_t *ibdm_get_ioc_info_with_gid(ib_guid_t,
159 ibdm_dp_gidinfo_t **);
160
161 int ibdm_dft_timeout = IBDM_DFT_TIMEOUT;
162 int ibdm_dft_retry_cnt = IBDM_DFT_NRETRIES;
163 #ifdef DEBUG
164 int ibdm_ignore_saa_event = 0;
165 #endif
166 int ibdm_enumerate_iocs = 0;
167
168 /* Modload support */
169 static struct modlmisc ibdm_modlmisc = {
170 &mod_miscops,
171 "InfiniBand Device Manager"
172 };
173
174 struct modlinkage ibdm_modlinkage = {
175 MODREV_1,
176 (void *)&ibdm_modlmisc,
177 NULL
178 };
179
180 static ibt_clnt_modinfo_t ibdm_ibt_modinfo = {
181 IBTI_V_CURR,
182 IBT_DM,
183 ibdm_event_hdlr,
184 NULL,
185 "ibdm"
186 };
187
188 /* Global variables */
189 ibdm_t ibdm;
190 int ibdm_taskq_enable = IBDM_ENABLE_TASKQ_HANDLING;
191 char *ibdm_string = "ibdm";
192
193 _NOTE(SCHEME_PROTECTS_DATA("Serialized access by cv",
194 ibdm.ibdm_dp_gidlist_head))
195
196 /*
197 * _init
|
156 static int ibdm_serv_cmp(ibdm_srvents_info_t *, ibdm_srvents_info_t *,
157 int);
158 static ibdm_ioc_info_t *ibdm_get_ioc_info_with_gid(ib_guid_t,
159 ibdm_dp_gidinfo_t **);
160
161 int ibdm_dft_timeout = IBDM_DFT_TIMEOUT;
162 int ibdm_dft_retry_cnt = IBDM_DFT_NRETRIES;
163 #ifdef DEBUG
164 int ibdm_ignore_saa_event = 0;
165 #endif
166 int ibdm_enumerate_iocs = 0;
167
168 /* Modload support */
169 static struct modlmisc ibdm_modlmisc = {
170 &mod_miscops,
171 "InfiniBand Device Manager"
172 };
173
174 struct modlinkage ibdm_modlinkage = {
175 MODREV_1,
176 { (void *)&ibdm_modlmisc, NULL }
177 };
178
179 static ibt_clnt_modinfo_t ibdm_ibt_modinfo = {
180 IBTI_V_CURR,
181 IBT_DM,
182 ibdm_event_hdlr,
183 NULL,
184 "ibdm"
185 };
186
187 /* Global variables */
188 ibdm_t ibdm;
189 int ibdm_taskq_enable = IBDM_ENABLE_TASKQ_HANDLING;
190 char *ibdm_string = "ibdm";
191
192 _NOTE(SCHEME_PROTECTS_DATA("Serialized access by cv",
193 ibdm.ibdm_dp_gidlist_head))
194
195 /*
196 * _init
|