diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 25 |
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); | |||
73 | extern int qla2x00_post_aen_work(struct scsi_qla_host *, enum | 73 | extern int qla2x00_post_aen_work(struct scsi_qla_host *, enum |
74 | fc_host_event_code, u32); | 74 | fc_host_event_code, u32); |
75 | extern int qla2x00_post_idc_ack_work(struct scsi_qla_host *, uint16_t *); | 75 | extern int qla2x00_post_idc_ack_work(struct scsi_qla_host *, uint16_t *); |
76 | extern int qla81xx_restart_mpi_firmware(scsi_qla_host_t *); | ||
76 | 77 | ||
77 | extern void qla2x00_abort_fcport_cmds(fc_port_t *); | 78 | extern void qla2x00_abort_fcport_cmds(fc_port_t *); |
78 | extern struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *, | 79 | extern 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 | */ |
85 | extern struct scsi_host_template qla24xx_driver_template; | 86 | extern struct scsi_host_template qla2xxx_driver_template; |
86 | extern struct scsi_transport_template *qla2xxx_transport_vport_template; | 87 | extern struct scsi_transport_template *qla2xxx_transport_vport_template; |
87 | extern void qla2x00_timer(scsi_qla_host_t *); | 88 | extern void qla2x00_timer(scsi_qla_host_t *); |
88 | extern void qla2x00_start_timer(scsi_qla_host_t *, void *, unsigned long); | 89 | extern 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); | |||
110 | extern struct fw_blob *qla2x00_request_firmware(scsi_qla_host_t *); | 111 | extern struct fw_blob *qla2x00_request_firmware(scsi_qla_host_t *); |
111 | 112 | ||
112 | extern int qla2x00_wait_for_hba_online(scsi_qla_host_t *); | 113 | extern int qla2x00_wait_for_hba_online(scsi_qla_host_t *); |
114 | extern int qla2x00_wait_for_chip_reset(scsi_qla_host_t *); | ||
113 | 115 | ||
114 | extern void qla2xxx_wake_dpc(struct scsi_qla_host *); | 116 | extern void qla2xxx_wake_dpc(struct scsi_qla_host *); |
115 | extern void qla2x00_alert_all_vps(struct rsp_que *, uint16_t *); | 117 | extern void qla2x00_alert_all_vps(struct rsp_que *, uint16_t *); |
@@ -144,8 +146,8 @@ extern int | |||
144 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); | 146 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); |
145 | 147 | ||
146 | extern void | 148 | extern void |
147 | qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, | 149 | qla2x00_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 | ||
150 | extern int | 152 | extern int |
151 | qla2x00_get_fw_options(scsi_qla_host_t *, uint16_t *); | 153 | qla2x00_get_fw_options(scsi_qla_host_t *, uint16_t *); |
@@ -263,12 +265,29 @@ extern int | |||
263 | qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t); | 265 | qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t); |
264 | 266 | ||
265 | extern int | 267 | extern int |
268 | qla2x00_read_edc(scsi_qla_host_t *, uint16_t, uint16_t, dma_addr_t, | ||
269 | uint8_t *, uint16_t, uint16_t); | ||
270 | |||
271 | extern int | ||
272 | qla2x00_write_edc(scsi_qla_host_t *, uint16_t, uint16_t, dma_addr_t, | ||
273 | uint8_t *, uint16_t, uint16_t); | ||
274 | |||
275 | extern int | ||
266 | qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *); | 276 | qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *); |
267 | 277 | ||
268 | extern int qla84xx_verify_chip(struct scsi_qla_host *, uint16_t *); | 278 | extern int qla84xx_verify_chip(struct scsi_qla_host *, uint16_t *); |
269 | 279 | ||
270 | extern int qla81xx_idc_ack(scsi_qla_host_t *, uint16_t *); | 280 | extern int qla81xx_idc_ack(scsi_qla_host_t *, uint16_t *); |
271 | 281 | ||
282 | extern int | ||
283 | qla81xx_fac_get_sector_size(scsi_qla_host_t *, uint32_t *); | ||
284 | |||
285 | extern int | ||
286 | qla81xx_fac_do_write_enable(scsi_qla_host_t *, int); | ||
287 | |||
288 | extern int | ||
289 | qla81xx_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 | */ |