diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
| -rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 193f688ec3d7..a9571c214a9e 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * QLogic Fibre Channel HBA Driver | 2 | * QLogic Fibre Channel HBA Driver |
| 3 | * Copyright (c) 2003-2005 QLogic Corporation | 3 | * Copyright (c) 2003-2008 QLogic Corporation |
| 4 | * | 4 | * |
| 5 | * See LICENSE.qla2xxx for copyright and licensing details. | 5 | * See LICENSE.qla2xxx for copyright and licensing details. |
| 6 | */ | 6 | */ |
| @@ -38,9 +38,6 @@ extern int qla2x00_loop_resync(scsi_qla_host_t *); | |||
| 38 | extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *); | 38 | extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *); |
| 39 | extern int qla2x00_local_device_login(scsi_qla_host_t *, fc_port_t *); | 39 | extern int qla2x00_local_device_login(scsi_qla_host_t *, fc_port_t *); |
| 40 | 40 | ||
| 41 | extern void qla2x00_restart_queues(scsi_qla_host_t *, uint8_t); | ||
| 42 | |||
| 43 | extern void qla2x00_rescan_fcports(scsi_qla_host_t *); | ||
| 44 | extern void qla2x00_update_fcports(scsi_qla_host_t *); | 41 | extern void qla2x00_update_fcports(scsi_qla_host_t *); |
| 45 | 42 | ||
| 46 | extern int qla2x00_abort_isp(scsi_qla_host_t *); | 43 | extern int qla2x00_abort_isp(scsi_qla_host_t *); |
| @@ -50,6 +47,8 @@ extern void qla2x00_update_fcport(scsi_qla_host_t *, fc_port_t *); | |||
| 50 | extern void qla2x00_alloc_fw_dump(scsi_qla_host_t *); | 47 | extern void qla2x00_alloc_fw_dump(scsi_qla_host_t *); |
| 51 | extern void qla2x00_try_to_stop_firmware(scsi_qla_host_t *); | 48 | extern void qla2x00_try_to_stop_firmware(scsi_qla_host_t *); |
| 52 | 49 | ||
| 50 | extern void qla84xx_put_chip(struct scsi_qla_host *); | ||
| 51 | |||
| 53 | /* | 52 | /* |
| 54 | * Global Data in qla_os.c source file. | 53 | * Global Data in qla_os.c source file. |
| 55 | */ | 54 | */ |
| @@ -67,6 +66,10 @@ extern int num_hosts; | |||
| 67 | 66 | ||
| 68 | extern int qla2x00_loop_reset(scsi_qla_host_t *); | 67 | extern int qla2x00_loop_reset(scsi_qla_host_t *); |
| 69 | extern void qla2x00_abort_all_cmds(scsi_qla_host_t *, int); | 68 | extern void qla2x00_abort_all_cmds(scsi_qla_host_t *, int); |
| 69 | extern int qla2x00_post_aen_work(struct scsi_qla_host *, enum | ||
| 70 | fc_host_event_code, u32); | ||
| 71 | extern int qla2x00_post_hwe_work(struct scsi_qla_host *, uint16_t , uint16_t, | ||
| 72 | uint16_t, uint16_t); | ||
| 70 | 73 | ||
| 71 | /* | 74 | /* |
| 72 | * Global Functions in qla_mid.c source file. | 75 | * Global Functions in qla_mid.c source file. |
| @@ -149,12 +152,17 @@ extern int | |||
| 149 | qla2x00_issue_iocb(scsi_qla_host_t *, void *, dma_addr_t, size_t); | 152 | qla2x00_issue_iocb(scsi_qla_host_t *, void *, dma_addr_t, size_t); |
| 150 | 153 | ||
| 151 | extern int | 154 | extern int |
| 155 | qla2x00_issue_iocb_timeout(scsi_qla_host_t *, void *, dma_addr_t, size_t, | ||
| 156 | uint32_t); | ||
| 157 | |||
| 158 | extern int | ||
| 152 | qla2x00_abort_command(scsi_qla_host_t *, srb_t *); | 159 | qla2x00_abort_command(scsi_qla_host_t *, srb_t *); |
| 153 | 160 | ||
| 154 | #if USE_ABORT_TGT | ||
| 155 | extern int | 161 | extern int |
| 156 | qla2x00_abort_target(fc_port_t *); | 162 | qla2x00_abort_target(struct fc_port *, unsigned int); |
| 157 | #endif | 163 | |
| 164 | extern int | ||
| 165 | qla2x00_lun_reset(struct fc_port *, unsigned int); | ||
| 158 | 166 | ||
| 159 | extern int | 167 | extern int |
| 160 | qla2x00_get_adapter_id(scsi_qla_host_t *, uint16_t *, uint8_t *, uint8_t *, | 168 | qla2x00_get_adapter_id(scsi_qla_host_t *, uint16_t *, uint8_t *, uint8_t *, |
| @@ -220,7 +228,8 @@ qla24xx_get_isp_stats(scsi_qla_host_t *, struct link_statistics *, | |||
| 220 | dma_addr_t); | 228 | dma_addr_t); |
| 221 | 229 | ||
| 222 | extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *); | 230 | extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *); |
| 223 | extern int qla24xx_abort_target(fc_port_t *); | 231 | extern int qla24xx_abort_target(struct fc_port *, unsigned int); |
| 232 | extern int qla24xx_lun_reset(struct fc_port *, unsigned int); | ||
| 224 | 233 | ||
| 225 | extern int | 234 | extern int |
| 226 | qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t); | 235 | qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t); |
| @@ -246,6 +255,8 @@ qla2x00_read_sfp(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t, uint16_t); | |||
| 246 | extern int | 255 | extern int |
| 247 | qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *); | 256 | qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *); |
| 248 | 257 | ||
| 258 | extern int qla84xx_verify_chip(struct scsi_qla_host *, uint16_t *); | ||
| 259 | |||
| 249 | /* | 260 | /* |
| 250 | * Global Function Prototypes in qla_isr.c source file. | 261 | * Global Function Prototypes in qla_isr.c source file. |
| 251 | */ | 262 | */ |
| @@ -298,6 +309,11 @@ extern uint8_t *qla25xx_read_optrom_data(struct scsi_qla_host *, uint8_t *, | |||
| 298 | extern int qla2x00_get_flash_version(scsi_qla_host_t *, void *); | 309 | extern int qla2x00_get_flash_version(scsi_qla_host_t *, void *); |
| 299 | extern int qla24xx_get_flash_version(scsi_qla_host_t *, void *); | 310 | extern int qla24xx_get_flash_version(scsi_qla_host_t *, void *); |
| 300 | 311 | ||
| 312 | extern int qla2xxx_hw_event_log(scsi_qla_host_t *, uint16_t , uint16_t, | ||
| 313 | uint16_t, uint16_t); | ||
| 314 | |||
| 315 | extern void qla2xxx_get_flash_info(scsi_qla_host_t *); | ||
| 316 | |||
| 301 | /* | 317 | /* |
| 302 | * Global Function Prototypes in qla_dbg.c source file. | 318 | * Global Function Prototypes in qla_dbg.c source file. |
| 303 | */ | 319 | */ |
| @@ -307,7 +323,6 @@ extern void qla24xx_fw_dump(scsi_qla_host_t *, int); | |||
| 307 | extern void qla25xx_fw_dump(scsi_qla_host_t *, int); | 323 | extern void qla25xx_fw_dump(scsi_qla_host_t *, int); |
| 308 | extern void qla2x00_dump_regs(scsi_qla_host_t *); | 324 | extern void qla2x00_dump_regs(scsi_qla_host_t *); |
| 309 | extern void qla2x00_dump_buffer(uint8_t *, uint32_t); | 325 | extern void qla2x00_dump_buffer(uint8_t *, uint32_t); |
| 310 | extern void qla2x00_print_scsi_cmd(struct scsi_cmnd *); | ||
| 311 | 326 | ||
| 312 | /* | 327 | /* |
| 313 | * Global Function Prototypes in qla_gs.c source file. | 328 | * Global Function Prototypes in qla_gs.c source file. |
