|
@@ -70,30 +70,20 @@ extern int qla2x00_loop_reset(scsi_qla_host_t *);
|
|
/*
|
|
/*
|
|
* Global Functions in qla_mid.c source file.
|
|
* Global Functions in qla_mid.c source file.
|
|
*/
|
|
*/
|
|
-extern struct scsi_host_template qla2x00_driver_template;
|
|
|
|
extern struct scsi_host_template qla24xx_driver_template;
|
|
extern struct scsi_host_template qla24xx_driver_template;
|
|
extern struct scsi_transport_template *qla2xxx_transport_vport_template;
|
|
extern struct scsi_transport_template *qla2xxx_transport_vport_template;
|
|
-extern uint8_t qla2x00_mem_alloc(scsi_qla_host_t *);
|
|
|
|
extern void qla2x00_timer(scsi_qla_host_t *);
|
|
extern void qla2x00_timer(scsi_qla_host_t *);
|
|
extern void qla2x00_start_timer(scsi_qla_host_t *, void *, unsigned long);
|
|
extern void qla2x00_start_timer(scsi_qla_host_t *, void *, unsigned long);
|
|
-extern void qla2x00_stop_timer(scsi_qla_host_t *);
|
|
|
|
-extern uint32_t qla24xx_allocate_vp_id(scsi_qla_host_t *);
|
|
|
|
extern void qla24xx_deallocate_vp_id(scsi_qla_host_t *);
|
|
extern void qla24xx_deallocate_vp_id(scsi_qla_host_t *);
|
|
extern int qla24xx_disable_vp (scsi_qla_host_t *);
|
|
extern int qla24xx_disable_vp (scsi_qla_host_t *);
|
|
extern int qla24xx_enable_vp (scsi_qla_host_t *);
|
|
extern int qla24xx_enable_vp (scsi_qla_host_t *);
|
|
-extern void qla2x00_mem_free(scsi_qla_host_t *);
|
|
|
|
extern int qla24xx_control_vp(scsi_qla_host_t *, int );
|
|
extern int qla24xx_control_vp(scsi_qla_host_t *, int );
|
|
extern int qla24xx_modify_vp_config(scsi_qla_host_t *);
|
|
extern int qla24xx_modify_vp_config(scsi_qla_host_t *);
|
|
extern int qla2x00_send_change_request(scsi_qla_host_t *, uint16_t, uint16_t);
|
|
extern int qla2x00_send_change_request(scsi_qla_host_t *, uint16_t, uint16_t);
|
|
extern void qla2x00_vp_stop_timer(scsi_qla_host_t *);
|
|
extern void qla2x00_vp_stop_timer(scsi_qla_host_t *);
|
|
extern int qla24xx_configure_vhba (scsi_qla_host_t *);
|
|
extern int qla24xx_configure_vhba (scsi_qla_host_t *);
|
|
-extern int qla24xx_get_vp_entry(scsi_qla_host_t *, uint16_t, int);
|
|
|
|
-extern int qla24xx_get_vp_database(scsi_qla_host_t *, uint16_t);
|
|
|
|
-extern int qla2x00_do_dpc_vp(scsi_qla_host_t *);
|
|
|
|
extern void qla24xx_report_id_acquisition(scsi_qla_host_t *,
|
|
extern void qla24xx_report_id_acquisition(scsi_qla_host_t *,
|
|
struct vp_rpt_id_entry_24xx *);
|
|
struct vp_rpt_id_entry_24xx *);
|
|
-extern scsi_qla_host_t * qla24xx_find_vhost_by_name(scsi_qla_host_t *,
|
|
|
|
- uint8_t *);
|
|
|
|
extern void qla2x00_do_dpc_all_vps(scsi_qla_host_t *);
|
|
extern void qla2x00_do_dpc_all_vps(scsi_qla_host_t *);
|
|
extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *);
|
|
extern int qla24xx_vport_create_req_sanity_check(struct fc_vport *);
|
|
extern scsi_qla_host_t * qla24xx_create_vhost(struct fc_vport *);
|
|
extern scsi_qla_host_t * qla24xx_create_vhost(struct fc_vport *);
|
|
@@ -113,7 +103,6 @@ extern void qla2xxx_wake_dpc(scsi_qla_host_t *);
|
|
extern void qla2x00_alert_all_vps(scsi_qla_host_t *, uint16_t *);
|
|
extern void qla2x00_alert_all_vps(scsi_qla_host_t *, uint16_t *);
|
|
extern void qla2x00_async_event(scsi_qla_host_t *, uint16_t *);
|
|
extern void qla2x00_async_event(scsi_qla_host_t *, uint16_t *);
|
|
extern void qla2x00_vp_abort_isp(scsi_qla_host_t *);
|
|
extern void qla2x00_vp_abort_isp(scsi_qla_host_t *);
|
|
-extern int qla24xx_vport_delete(struct fc_vport *);
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* Global Function Prototypes in qla_iocb.c source file.
|
|
* Global Function Prototypes in qla_iocb.c source file.
|
|
@@ -232,12 +221,6 @@ qla24xx_get_isp_stats(scsi_qla_host_t *, struct link_statistics *,
|
|
extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *);
|
|
extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *);
|
|
extern int qla24xx_abort_target(fc_port_t *);
|
|
extern int qla24xx_abort_target(fc_port_t *);
|
|
|
|
|
|
-extern int qla2x00_system_error(scsi_qla_host_t *);
|
|
|
|
-
|
|
|
|
-extern int
|
|
|
|
-qla2x00_get_serdes_params(scsi_qla_host_t *, uint16_t *, uint16_t *,
|
|
|
|
- uint16_t *);
|
|
|
|
-
|
|
|
|
extern int
|
|
extern int
|
|
qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t);
|
|
qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t);
|
|
|
|
|
|
@@ -250,9 +233,6 @@ qla2x00_trace_control(scsi_qla_host_t *, uint16_t, dma_addr_t, uint16_t);
|
|
extern int
|
|
extern int
|
|
qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t);
|
|
qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t);
|
|
|
|
|
|
-extern int
|
|
|
|
-qla2x00_get_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t *, uint16_t *);
|
|
|
|
-
|
|
|
|
extern int
|
|
extern int
|
|
qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *);
|
|
qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *);
|
|
|
|
|
|
@@ -271,11 +251,7 @@ extern void qla2x00_free_irqs(scsi_qla_host_t *);
|
|
/*
|
|
/*
|
|
* Global Function Prototypes in qla_sup.c source file.
|
|
* Global Function Prototypes in qla_sup.c source file.
|
|
*/
|
|
*/
|
|
-extern void qla2x00_lock_nvram_access(scsi_qla_host_t *);
|
|
|
|
-extern void qla2x00_unlock_nvram_access(scsi_qla_host_t *);
|
|
|
|
extern void qla2x00_release_nvram_protection(scsi_qla_host_t *);
|
|
extern void qla2x00_release_nvram_protection(scsi_qla_host_t *);
|
|
-extern uint16_t qla2x00_get_nvram_word(scsi_qla_host_t *, uint32_t);
|
|
|
|
-extern void qla2x00_write_nvram_word(scsi_qla_host_t *, uint32_t, uint16_t);
|
|
|
|
extern uint32_t *qla24xx_read_flash_data(scsi_qla_host_t *, uint32_t *,
|
|
extern uint32_t *qla24xx_read_flash_data(scsi_qla_host_t *, uint32_t *,
|
|
uint32_t, uint32_t);
|
|
uint32_t, uint32_t);
|
|
extern uint8_t *qla2x00_read_nvram_data(scsi_qla_host_t *, uint8_t *, uint32_t,
|
|
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);
|
|
extern void qla2x00_dump_regs(scsi_qla_host_t *);
|
|
extern void qla2x00_dump_regs(scsi_qla_host_t *);
|
|
extern void qla2x00_dump_buffer(uint8_t *, uint32_t);
|
|
extern void qla2x00_dump_buffer(uint8_t *, uint32_t);
|
|
extern void qla2x00_print_scsi_cmd(struct scsi_cmnd *);
|
|
extern void qla2x00_print_scsi_cmd(struct scsi_cmnd *);
|
|
-extern void qla2x00_dump_pkt(void *);
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* Global Function Prototypes in qla_gs.c source file.
|
|
* Global Function Prototypes in qla_gs.c source file.
|