diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index fa4455f48f1d..fd7553920e00 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -70,30 +70,20 @@ extern int qla2x00_loop_reset(scsi_qla_host_t *); | |||
70 | /* | 70 | /* |
71 | * Global Functions in qla_mid.c source file. | 71 | * Global Functions in qla_mid.c source file. |
72 | */ | 72 | */ |
73 | extern struct scsi_host_template qla2x00_driver_template; | ||
74 | extern struct scsi_host_template qla24xx_driver_template; | 73 | extern struct scsi_host_template qla24xx_driver_template; |
75 | extern struct scsi_transport_template *qla2xxx_transport_vport_template; | 74 | extern struct scsi_transport_template *qla2xxx_transport_vport_template; |
76 | extern uint8_t qla2x00_mem_alloc(scsi_qla_host_t *); | ||
77 | extern void qla2x00_timer(scsi_qla_host_t *); | 75 | extern void qla2x00_timer(scsi_qla_host_t *); |
78 | extern void qla2x00_start_timer(scsi_qla_host_t *, void *, unsigned long); | 76 | extern void qla2x00_start_timer(scsi_qla_host_t *, void *, unsigned long); |
79 | extern void qla2x00_stop_timer(scsi_qla_host_t *); | ||
80 | extern uint32_t qla24xx_allocate_vp_id(scsi_qla_host_t *); | ||
81 | extern void qla24xx_deallocate_vp_id(scsi_qla_host_t *); | 77 | extern void qla24xx_deallocate_vp_id(scsi_qla_host_t *); |
82 | extern int qla24xx_disable_vp (scsi_qla_host_t *); | 78 | extern int qla24xx_disable_vp (scsi_qla_host_t *); |
83 | extern int qla24xx_enable_vp (scsi_qla_host_t *); | 79 | extern int qla24xx_enable_vp (scsi_qla_host_t *); |
84 | extern void qla2x00_mem_free(scsi_qla_host_t *); | ||
85 | extern int qla24xx_control_vp(scsi_qla_host_t *, int ); | 80 | extern int qla24xx_control_vp(scsi_qla_host_t *, int ); |
86 | extern int qla24xx_modify_vp_config(scsi_qla_host_t *); | 81 | extern int qla24xx_modify_vp_config(scsi_qla_host_t *); |
87 | extern int qla2x00_send_change_request(scsi_qla_host_t *, uint16_t, uint16_t); | 82 | extern int qla2x00_send_change_request(scsi_qla_host_t *, uint16_t, uint16_t); |
88 | extern void qla2x00_vp_stop_timer(scsi_qla_host_t *); | 83 | extern void qla2x00_vp_stop_timer(scsi_qla_host_t *); |
89 | extern int qla24xx_configure_vhba (scsi_qla_host_t *); | 84 | extern int qla24xx_configure_vhba (scsi_qla_host_t *); |
90 | extern int qla24xx_get_vp_entry(scsi_qla_host_t *, uint16_t, int); | ||
91 | extern int qla24xx_get_vp_database(scsi_qla_host_t *, uint16_t); | ||
92 | extern int qla2x00_do_dpc_vp(scsi_qla_host_t *); | ||
93 | extern void qla24xx_report_id_acquisition(scsi_qla_host_t *, | 85 | extern void qla24xx_report_id_acquisition(scsi_qla_host_t *, |
94 | struct vp_rpt_id_entry_24xx *); | 86 | struct vp_rpt_id_entry_24xx *); |
95 | extern scsi_qla_host_t * qla24xx_find_vhost_by_name(scsi_qla_host_t *, | ||
96 | uint8_t *); | ||
97 | extern void qla2x00_do_dpc_all_vps(scsi_qla_host_t *); | 87 | extern void qla2x00_do_dpc_all_vps(scsi_qla_host_t *); |
98 | extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *); | 88 | extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *); |
99 | extern scsi_qla_host_t * qla24xx_create_vhost(struct fc_vport *); | 89 | extern scsi_qla_host_t * qla24xx_create_vhost(struct fc_vport *); |
@@ -113,7 +103,6 @@ extern void qla2xxx_wake_dpc(scsi_qla_host_t *); | |||
113 | extern void qla2x00_alert_all_vps(scsi_qla_host_t *, uint16_t *); | 103 | extern void qla2x00_alert_all_vps(scsi_qla_host_t *, uint16_t *); |
114 | extern void qla2x00_async_event(scsi_qla_host_t *, uint16_t *); | 104 | extern void qla2x00_async_event(scsi_qla_host_t *, uint16_t *); |
115 | extern void qla2x00_vp_abort_isp(scsi_qla_host_t *); | 105 | extern void qla2x00_vp_abort_isp(scsi_qla_host_t *); |
116 | extern int qla24xx_vport_delete(struct fc_vport *); | ||
117 | 106 | ||
118 | /* | 107 | /* |
119 | * Global Function Prototypes in qla_iocb.c source file. | 108 | * Global Function Prototypes in qla_iocb.c source file. |
@@ -232,12 +221,6 @@ qla24xx_get_isp_stats(scsi_qla_host_t *, struct link_statistics *, | |||
232 | extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *); | 221 | extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *); |
233 | extern int qla24xx_abort_target(fc_port_t *); | 222 | extern int qla24xx_abort_target(fc_port_t *); |
234 | 223 | ||
235 | extern int qla2x00_system_error(scsi_qla_host_t *); | ||
236 | |||
237 | extern int | ||
238 | qla2x00_get_serdes_params(scsi_qla_host_t *, uint16_t *, uint16_t *, | ||
239 | uint16_t *); | ||
240 | |||
241 | extern int | 224 | extern int |
242 | qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t); | 225 | qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t); |
243 | 226 | ||
@@ -251,9 +234,6 @@ extern int | |||
251 | qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t); | 234 | qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t); |
252 | 235 | ||
253 | extern int | 236 | extern int |
254 | qla2x00_get_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t *, uint16_t *); | ||
255 | |||
256 | extern int | ||
257 | qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *); | 237 | qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *); |
258 | 238 | ||
259 | /* | 239 | /* |
@@ -271,11 +251,7 @@ extern void qla2x00_free_irqs(scsi_qla_host_t *); | |||
271 | /* | 251 | /* |
272 | * Global Function Prototypes in qla_sup.c source file. | 252 | * Global Function Prototypes in qla_sup.c source file. |
273 | */ | 253 | */ |
274 | extern void qla2x00_lock_nvram_access(scsi_qla_host_t *); | ||
275 | extern void qla2x00_unlock_nvram_access(scsi_qla_host_t *); | ||
276 | extern void qla2x00_release_nvram_protection(scsi_qla_host_t *); | 254 | extern void qla2x00_release_nvram_protection(scsi_qla_host_t *); |
277 | extern uint16_t qla2x00_get_nvram_word(scsi_qla_host_t *, uint32_t); | ||
278 | extern void qla2x00_write_nvram_word(scsi_qla_host_t *, uint32_t, uint16_t); | ||
279 | extern uint32_t *qla24xx_read_flash_data(scsi_qla_host_t *, uint32_t *, | 255 | extern uint32_t *qla24xx_read_flash_data(scsi_qla_host_t *, uint32_t *, |
280 | uint32_t, uint32_t); | 256 | uint32_t, uint32_t); |
281 | extern uint8_t *qla2x00_read_nvram_data(scsi_qla_host_t *, uint8_t *, uint32_t, | 257 | extern uint8_t *qla2x00_read_nvram_data(scsi_qla_host_t *, uint8_t *, uint32_t, |
@@ -322,7 +298,6 @@ extern void qla25xx_fw_dump(scsi_qla_host_t *, int); | |||
322 | extern void qla2x00_dump_regs(scsi_qla_host_t *); | 298 | extern void qla2x00_dump_regs(scsi_qla_host_t *); |
323 | extern void qla2x00_dump_buffer(uint8_t *, uint32_t); | 299 | extern void qla2x00_dump_buffer(uint8_t *, uint32_t); |
324 | extern void qla2x00_print_scsi_cmd(struct scsi_cmnd *); | 300 | extern void qla2x00_print_scsi_cmd(struct scsi_cmnd *); |
325 | extern void qla2x00_dump_pkt(void *); | ||
326 | 301 | ||
327 | /* | 302 | /* |
328 | * Global Function Prototypes in qla_gs.c source file. | 303 | * Global Function Prototypes in qla_gs.c source file. |