149 _NOTE(RWLOCK_PROTECTS_DATA(fctl_mod_ports_lock, ulp_module::mod_ports
150 ulp_ports::port_handle))
151 _NOTE(DATA_READABLE_WITHOUT_LOCK(ulp_module::mod_info))
152 _NOTE(MUTEX_PROTECTS_DATA(ulp_ports::port_mutex, ulp_ports::port_statec
153 ulp_ports::port_dstate))
154 #endif /* lint */
155
156 #define FCTL_VERSION "20090729-1.70"
157 #define FCTL_NAME_VERSION "SunFC Transport v" FCTL_VERSION
158
159 char *fctl_version = FCTL_NAME_VERSION;
160
161 extern struct mod_ops mod_miscops;
162
163 static struct modlmisc modlmisc = {
164 &mod_miscops, /* type of module */
165 FCTL_NAME_VERSION /* Module name */
166 };
167
168 static struct modlinkage modlinkage = {
169 MODREV_1, (void *)&modlmisc, NULL
170 };
171
172 static struct bus_ops fctl_fca_busops = {
173 BUSO_REV,
174 nullbusmap, /* bus_map */
175 NULL, /* bus_get_intrspec */
176 NULL, /* bus_add_intrspec */
177 NULL, /* bus_remove_intrspec */
178 i_ddi_map_fault, /* bus_map_fault */
179 NULL, /* bus_dma_map */
180 ddi_dma_allochdl, /* bus_dma_allochdl */
181 ddi_dma_freehdl, /* bus_dma_freehdl */
182 ddi_dma_bindhdl, /* bus_dma_bindhdl */
183 ddi_dma_unbindhdl, /* bus_unbindhdl */
184 ddi_dma_flush, /* bus_dma_flush */
185 ddi_dma_win, /* bus_dma_win */
186 ddi_dma_mctl, /* bus_dma_ctl */
187 fctl_fca_bus_ctl, /* bus_ctl */
188 ddi_bus_prop_op, /* bus_prop_op */
189 NULL, /* bus_get_eventcookie */
|
149 _NOTE(RWLOCK_PROTECTS_DATA(fctl_mod_ports_lock, ulp_module::mod_ports
150 ulp_ports::port_handle))
151 _NOTE(DATA_READABLE_WITHOUT_LOCK(ulp_module::mod_info))
152 _NOTE(MUTEX_PROTECTS_DATA(ulp_ports::port_mutex, ulp_ports::port_statec
153 ulp_ports::port_dstate))
154 #endif /* lint */
155
156 #define FCTL_VERSION "20090729-1.70"
157 #define FCTL_NAME_VERSION "SunFC Transport v" FCTL_VERSION
158
159 char *fctl_version = FCTL_NAME_VERSION;
160
161 extern struct mod_ops mod_miscops;
162
163 static struct modlmisc modlmisc = {
164 &mod_miscops, /* type of module */
165 FCTL_NAME_VERSION /* Module name */
166 };
167
168 static struct modlinkage modlinkage = {
169 MODREV_1, { (void *)&modlmisc, NULL }
170 };
171
172 static struct bus_ops fctl_fca_busops = {
173 BUSO_REV,
174 nullbusmap, /* bus_map */
175 NULL, /* bus_get_intrspec */
176 NULL, /* bus_add_intrspec */
177 NULL, /* bus_remove_intrspec */
178 i_ddi_map_fault, /* bus_map_fault */
179 NULL, /* bus_dma_map */
180 ddi_dma_allochdl, /* bus_dma_allochdl */
181 ddi_dma_freehdl, /* bus_dma_freehdl */
182 ddi_dma_bindhdl, /* bus_dma_bindhdl */
183 ddi_dma_unbindhdl, /* bus_unbindhdl */
184 ddi_dma_flush, /* bus_dma_flush */
185 ddi_dma_win, /* bus_dma_win */
186 ddi_dma_mctl, /* bus_dma_ctl */
187 fctl_fca_bus_ctl, /* bus_ctl */
188 ddi_bus_prop_op, /* bus_prop_op */
189 NULL, /* bus_get_eventcookie */
|