aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_gbl.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_gbl.h25
1 files changed, 22 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
index 6de283f8f11..528913f6bed 100644
--- a/drivers/scsi/qla2xxx/qla_gbl.h
+++ b/drivers/scsi/qla2xxx/qla_gbl.h
@@ -73,6 +73,7 @@ extern void qla2x00_abort_all_cmds(scsi_qla_host_t *, int);
73extern int qla2x00_post_aen_work(struct scsi_qla_host *, enum 73extern int qla2x00_post_aen_work(struct scsi_qla_host *, enum
74 fc_host_event_code, u32); 74 fc_host_event_code, u32);
75extern int qla2x00_post_idc_ack_work(struct scsi_qla_host *, uint16_t *); 75extern int qla2x00_post_idc_ack_work(struct scsi_qla_host *, uint16_t *);
76extern int qla81xx_restart_mpi_firmware(scsi_qla_host_t *);
76 77
77extern void qla2x00_abort_fcport_cmds(fc_port_t *); 78extern void qla2x00_abort_fcport_cmds(fc_port_t *);
78extern struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *, 79extern struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *,
@@ -82,7 +83,7 @@ extern void qla2x00_relogin(struct scsi_qla_host *);
82/* 83/*
83 * Global Functions in qla_mid.c source file. 84 * Global Functions in qla_mid.c source file.
84 */ 85 */
85extern struct scsi_host_template qla24xx_driver_template; 86extern struct scsi_host_template qla2xxx_driver_template;
86extern struct scsi_transport_template *qla2xxx_transport_vport_template; 87extern struct scsi_transport_template *qla2xxx_transport_vport_template;
87extern void qla2x00_timer(scsi_qla_host_t *); 88extern void qla2x00_timer(scsi_qla_host_t *);
88extern void qla2x00_start_timer(scsi_qla_host_t *, void *, unsigned long); 89extern void qla2x00_start_timer(scsi_qla_host_t *, void *, unsigned long);
@@ -110,6 +111,7 @@ extern void qla2x00_mark_all_devices_lost(scsi_qla_host_t *, int);
110extern struct fw_blob *qla2x00_request_firmware(scsi_qla_host_t *); 111extern struct fw_blob *qla2x00_request_firmware(scsi_qla_host_t *);
111 112
112extern int qla2x00_wait_for_hba_online(scsi_qla_host_t *); 113extern int qla2x00_wait_for_hba_online(scsi_qla_host_t *);
114extern int qla2x00_wait_for_chip_reset(scsi_qla_host_t *);
113 115
114extern void qla2xxx_wake_dpc(struct scsi_qla_host *); 116extern void qla2xxx_wake_dpc(struct scsi_qla_host *);
115extern void qla2x00_alert_all_vps(struct rsp_que *, uint16_t *); 117extern void qla2x00_alert_all_vps(struct rsp_que *, uint16_t *);
@@ -144,8 +146,8 @@ extern int
144qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); 146qla2x00_execute_fw(scsi_qla_host_t *, uint32_t);
145 147
146extern void 148extern void
147qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, 149qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, uint16_t *, uint16_t *,
148 uint16_t *, uint16_t *, uint16_t *, uint32_t *, uint8_t *, uint32_t *); 150 uint16_t *, uint32_t *, uint8_t *, uint32_t *, uint8_t *);
149 151
150extern int 152extern int
151qla2x00_get_fw_options(scsi_qla_host_t *, uint16_t *); 153qla2x00_get_fw_options(scsi_qla_host_t *, uint16_t *);
@@ -263,12 +265,29 @@ extern int
263qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t); 265qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t);
264 266
265extern int 267extern int
268qla2x00_read_edc(scsi_qla_host_t *, uint16_t, uint16_t, dma_addr_t,
269 uint8_t *, uint16_t, uint16_t);
270
271extern int
272qla2x00_write_edc(scsi_qla_host_t *, uint16_t, uint16_t, dma_addr_t,
273 uint8_t *, uint16_t, uint16_t);
274
275extern int
266qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *); 276qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *);
267 277
268extern int qla84xx_verify_chip(struct scsi_qla_host *, uint16_t *); 278extern int qla84xx_verify_chip(struct scsi_qla_host *, uint16_t *);
269 279
270extern int qla81xx_idc_ack(scsi_qla_host_t *, uint16_t *); 280extern int qla81xx_idc_ack(scsi_qla_host_t *, uint16_t *);
271 281
282extern int
283qla81xx_fac_get_sector_size(scsi_qla_host_t *, uint32_t *);
284
285extern int
286qla81xx_fac_do_write_enable(scsi_qla_host_t *, int);
287
288extern int
289qla81xx_fac_erase_sector(scsi_qla_host_t *, uint32_t, uint32_t);
290
272/* 291/*
273 * Global Function Prototypes in qla_isr.c source file. 292 * Global Function Prototypes in qla_isr.c source file.
274 */ 293 */