diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 43 |
1 files changed, 31 insertions, 12 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 528913f6bed9..65b12d82867c 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -65,8 +65,11 @@ extern int ql2xfdmienable; | |||
65 | extern int ql2xallocfwdump; | 65 | extern int ql2xallocfwdump; |
66 | extern int ql2xextended_error_logging; | 66 | extern int ql2xextended_error_logging; |
67 | extern int ql2xqfullrampup; | 67 | extern int ql2xqfullrampup; |
68 | extern int ql2xqfulltracking; | ||
68 | extern int ql2xiidmaenable; | 69 | extern int ql2xiidmaenable; |
69 | extern int ql2xmaxqueues; | 70 | extern int ql2xmaxqueues; |
71 | extern int ql2xmultique_tag; | ||
72 | extern int ql2xfwloadbin; | ||
70 | 73 | ||
71 | extern int qla2x00_loop_reset(scsi_qla_host_t *); | 74 | extern int qla2x00_loop_reset(scsi_qla_host_t *); |
72 | extern void qla2x00_abort_all_cmds(scsi_qla_host_t *, int); | 75 | extern void qla2x00_abort_all_cmds(scsi_qla_host_t *, int); |
@@ -145,7 +148,7 @@ qla2x00_dump_ram(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t); | |||
145 | extern int | 148 | extern int |
146 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); | 149 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); |
147 | 150 | ||
148 | extern void | 151 | extern int |
149 | qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, uint16_t *, uint16_t *, | 152 | qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, uint16_t *, uint16_t *, |
150 | uint16_t *, uint32_t *, uint8_t *, uint32_t *, uint8_t *); | 153 | uint16_t *, uint32_t *, uint8_t *, uint32_t *, uint8_t *); |
151 | 154 | ||
@@ -165,13 +168,13 @@ extern int | |||
165 | qla2x00_issue_iocb(scsi_qla_host_t *, void *, dma_addr_t, size_t); | 168 | qla2x00_issue_iocb(scsi_qla_host_t *, void *, dma_addr_t, size_t); |
166 | 169 | ||
167 | extern int | 170 | extern int |
168 | qla2x00_abort_command(scsi_qla_host_t *, srb_t *, struct req_que *); | 171 | qla2x00_abort_command(srb_t *); |
169 | 172 | ||
170 | extern int | 173 | extern int |
171 | qla2x00_abort_target(struct fc_port *, unsigned int); | 174 | qla2x00_abort_target(struct fc_port *, unsigned int, int); |
172 | 175 | ||
173 | extern int | 176 | extern int |
174 | qla2x00_lun_reset(struct fc_port *, unsigned int); | 177 | qla2x00_lun_reset(struct fc_port *, unsigned int, int); |
175 | 178 | ||
176 | extern int | 179 | extern int |
177 | qla2x00_get_adapter_id(scsi_qla_host_t *, uint16_t *, uint8_t *, uint8_t *, | 180 | qla2x00_get_adapter_id(scsi_qla_host_t *, uint16_t *, uint8_t *, uint8_t *, |
@@ -236,9 +239,11 @@ extern int | |||
236 | qla24xx_get_isp_stats(scsi_qla_host_t *, struct link_statistics *, | 239 | qla24xx_get_isp_stats(scsi_qla_host_t *, struct link_statistics *, |
237 | dma_addr_t); | 240 | dma_addr_t); |
238 | 241 | ||
239 | extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *, struct req_que *); | 242 | extern int qla24xx_abort_command(srb_t *); |
240 | extern int qla24xx_abort_target(struct fc_port *, unsigned int); | 243 | extern int |
241 | extern int qla24xx_lun_reset(struct fc_port *, unsigned int); | 244 | qla24xx_abort_target(struct fc_port *, unsigned int, int); |
245 | extern int | ||
246 | qla24xx_lun_reset(struct fc_port *, unsigned int, int); | ||
242 | 247 | ||
243 | extern int | 248 | extern int |
244 | qla2x00_system_error(scsi_qla_host_t *); | 249 | qla2x00_system_error(scsi_qla_host_t *); |
@@ -288,6 +293,18 @@ qla81xx_fac_do_write_enable(scsi_qla_host_t *, int); | |||
288 | extern int | 293 | extern int |
289 | qla81xx_fac_erase_sector(scsi_qla_host_t *, uint32_t, uint32_t); | 294 | qla81xx_fac_erase_sector(scsi_qla_host_t *, uint32_t, uint32_t); |
290 | 295 | ||
296 | extern int | ||
297 | qla2x00_get_xgmac_stats(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t *); | ||
298 | |||
299 | extern int | ||
300 | qla2x00_get_dcbx_params(scsi_qla_host_t *, dma_addr_t, uint16_t); | ||
301 | |||
302 | extern int | ||
303 | qla2x00_read_ram_word(scsi_qla_host_t *, uint32_t, uint32_t *); | ||
304 | |||
305 | extern int | ||
306 | qla2x00_write_ram_word(scsi_qla_host_t *, uint32_t, uint32_t); | ||
307 | |||
291 | /* | 308 | /* |
292 | * Global Function Prototypes in qla_isr.c source file. | 309 | * Global Function Prototypes in qla_isr.c source file. |
293 | */ | 310 | */ |
@@ -295,8 +312,8 @@ extern irqreturn_t qla2100_intr_handler(int, void *); | |||
295 | extern irqreturn_t qla2300_intr_handler(int, void *); | 312 | extern irqreturn_t qla2300_intr_handler(int, void *); |
296 | extern irqreturn_t qla24xx_intr_handler(int, void *); | 313 | extern irqreturn_t qla24xx_intr_handler(int, void *); |
297 | extern void qla2x00_process_response_queue(struct rsp_que *); | 314 | extern void qla2x00_process_response_queue(struct rsp_que *); |
298 | extern void qla24xx_process_response_queue(struct rsp_que *); | 315 | extern void |
299 | 316 | qla24xx_process_response_queue(struct scsi_qla_host *, struct rsp_que *); | |
300 | extern int qla2x00_request_irqs(struct qla_hw_data *, struct rsp_que *); | 317 | extern int qla2x00_request_irqs(struct qla_hw_data *, struct rsp_que *); |
301 | extern void qla2x00_free_irqs(scsi_qla_host_t *); | 318 | extern void qla2x00_free_irqs(scsi_qla_host_t *); |
302 | 319 | ||
@@ -401,19 +418,21 @@ extern int qla25xx_request_irq(struct rsp_que *); | |||
401 | extern int qla25xx_init_req_que(struct scsi_qla_host *, struct req_que *); | 418 | extern int qla25xx_init_req_que(struct scsi_qla_host *, struct req_que *); |
402 | extern int qla25xx_init_rsp_que(struct scsi_qla_host *, struct rsp_que *); | 419 | extern int qla25xx_init_rsp_que(struct scsi_qla_host *, struct rsp_que *); |
403 | extern int qla25xx_create_req_que(struct qla_hw_data *, uint16_t, uint8_t, | 420 | extern int qla25xx_create_req_que(struct qla_hw_data *, uint16_t, uint8_t, |
404 | uint16_t, uint8_t, uint8_t); | 421 | uint16_t, int, uint8_t); |
405 | extern int qla25xx_create_rsp_que(struct qla_hw_data *, uint16_t, uint8_t, | 422 | extern int qla25xx_create_rsp_que(struct qla_hw_data *, uint16_t, uint8_t, |
406 | uint16_t); | 423 | uint16_t, int); |
407 | extern int qla25xx_update_req_que(struct scsi_qla_host *, uint8_t, uint8_t); | 424 | extern int qla25xx_update_req_que(struct scsi_qla_host *, uint8_t, uint8_t); |
408 | extern void qla2x00_init_response_q_entries(struct rsp_que *); | 425 | extern void qla2x00_init_response_q_entries(struct rsp_que *); |
409 | extern int qla25xx_delete_req_que(struct scsi_qla_host *, struct req_que *); | 426 | extern int qla25xx_delete_req_que(struct scsi_qla_host *, struct req_que *); |
410 | extern int qla25xx_delete_rsp_que(struct scsi_qla_host *, struct rsp_que *); | 427 | extern int qla25xx_delete_rsp_que(struct scsi_qla_host *, struct rsp_que *); |
411 | extern int qla25xx_create_queues(struct scsi_qla_host *, uint8_t); | 428 | extern int qla25xx_create_queues(struct scsi_qla_host *, uint8_t); |
412 | extern int qla25xx_delete_queues(struct scsi_qla_host *, uint8_t); | 429 | extern int qla25xx_delete_queues(struct scsi_qla_host *); |
413 | extern uint16_t qla24xx_rd_req_reg(struct qla_hw_data *, uint16_t); | 430 | extern uint16_t qla24xx_rd_req_reg(struct qla_hw_data *, uint16_t); |
414 | extern uint16_t qla25xx_rd_req_reg(struct qla_hw_data *, uint16_t); | 431 | extern uint16_t qla25xx_rd_req_reg(struct qla_hw_data *, uint16_t); |
415 | extern void qla24xx_wrt_req_reg(struct qla_hw_data *, uint16_t, uint16_t); | 432 | extern void qla24xx_wrt_req_reg(struct qla_hw_data *, uint16_t, uint16_t); |
416 | extern void qla25xx_wrt_req_reg(struct qla_hw_data *, uint16_t, uint16_t); | 433 | extern void qla25xx_wrt_req_reg(struct qla_hw_data *, uint16_t, uint16_t); |
417 | extern void qla25xx_wrt_rsp_reg(struct qla_hw_data *, uint16_t, uint16_t); | 434 | extern void qla25xx_wrt_rsp_reg(struct qla_hw_data *, uint16_t, uint16_t); |
418 | extern void qla24xx_wrt_rsp_reg(struct qla_hw_data *, uint16_t, uint16_t); | 435 | extern void qla24xx_wrt_rsp_reg(struct qla_hw_data *, uint16_t, uint16_t); |
436 | extern struct scsi_qla_host * qla25xx_get_host(struct rsp_que *); | ||
437 | |||
419 | #endif /* _QLA_GBL_H */ | 438 | #endif /* _QLA_GBL_H */ |