diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 29b1a3e28231..ce32d8135c9e 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -104,6 +104,8 @@ extern int ql2xenablehba_err_chk; | |||
104 | extern int ql2xtargetreset; | 104 | extern int ql2xtargetreset; |
105 | extern int ql2xdontresethba; | 105 | extern int ql2xdontresethba; |
106 | extern unsigned int ql2xmaxlun; | 106 | extern unsigned int ql2xmaxlun; |
107 | extern int ql2xmdcapmask; | ||
108 | extern int ql2xmdenable; | ||
107 | 109 | ||
108 | extern int qla2x00_loop_reset(scsi_qla_host_t *); | 110 | extern int qla2x00_loop_reset(scsi_qla_host_t *); |
109 | extern void qla2x00_abort_all_cmds(scsi_qla_host_t *, int); | 111 | extern void qla2x00_abort_all_cmds(scsi_qla_host_t *, int); |
@@ -407,6 +409,8 @@ extern void qla2x00_beacon_blink(struct scsi_qla_host *); | |||
407 | extern int qla24xx_beacon_on(struct scsi_qla_host *); | 409 | extern int qla24xx_beacon_on(struct scsi_qla_host *); |
408 | extern int qla24xx_beacon_off(struct scsi_qla_host *); | 410 | extern int qla24xx_beacon_off(struct scsi_qla_host *); |
409 | extern void qla24xx_beacon_blink(struct scsi_qla_host *); | 411 | extern void qla24xx_beacon_blink(struct scsi_qla_host *); |
412 | extern int qla82xx_beacon_on(struct scsi_qla_host *); | ||
413 | extern int qla82xx_beacon_off(struct scsi_qla_host *); | ||
410 | 414 | ||
411 | extern uint8_t *qla2x00_read_optrom_data(struct scsi_qla_host *, uint8_t *, | 415 | extern uint8_t *qla2x00_read_optrom_data(struct scsi_qla_host *, uint8_t *, |
412 | uint32_t, uint32_t); | 416 | uint32_t, uint32_t); |
@@ -442,6 +446,7 @@ extern void qla2x00_dump_buffer_zipped(uint8_t *, uint32_t); | |||
442 | extern void ql_dump_regs(uint32_t, scsi_qla_host_t *, int32_t); | 446 | extern void ql_dump_regs(uint32_t, scsi_qla_host_t *, int32_t); |
443 | extern void ql_dump_buffer(uint32_t, scsi_qla_host_t *, int32_t, | 447 | extern void ql_dump_buffer(uint32_t, scsi_qla_host_t *, int32_t, |
444 | uint8_t *, uint32_t); | 448 | uint8_t *, uint32_t); |
449 | extern void qla2xxx_dump_post_process(scsi_qla_host_t *, int); | ||
445 | 450 | ||
446 | /* | 451 | /* |
447 | * Global Function Prototypes in qla_gs.c source file. | 452 | * Global Function Prototypes in qla_gs.c source file. |
@@ -569,7 +574,10 @@ extern int qla82xx_mbx_intr_enable(scsi_qla_host_t *); | |||
569 | extern int qla82xx_mbx_intr_disable(scsi_qla_host_t *); | 574 | extern int qla82xx_mbx_intr_disable(scsi_qla_host_t *); |
570 | extern void qla82xx_start_iocbs(srb_t *); | 575 | extern void qla82xx_start_iocbs(srb_t *); |
571 | extern int qla82xx_fcoe_ctx_reset(scsi_qla_host_t *); | 576 | extern int qla82xx_fcoe_ctx_reset(scsi_qla_host_t *); |
577 | extern int qla82xx_check_md_needed(scsi_qla_host_t *); | ||
572 | extern void qla82xx_chip_reset_cleanup(scsi_qla_host_t *); | 578 | extern void qla82xx_chip_reset_cleanup(scsi_qla_host_t *); |
579 | extern int qla82xx_mbx_beacon_ctl(scsi_qla_host_t *, int); | ||
580 | extern char *qdev_state(uint32_t); | ||
573 | 581 | ||
574 | /* BSG related functions */ | 582 | /* BSG related functions */ |
575 | extern int qla24xx_bsg_request(struct fc_bsg_job *); | 583 | extern int qla24xx_bsg_request(struct fc_bsg_job *); |
@@ -579,4 +587,14 @@ extern int qla2x00_issue_iocb_timeout(scsi_qla_host_t *, void *, | |||
579 | dma_addr_t, size_t, uint32_t); | 587 | dma_addr_t, size_t, uint32_t); |
580 | extern int qla2x00_get_idma_speed(scsi_qla_host_t *, uint16_t, | 588 | extern int qla2x00_get_idma_speed(scsi_qla_host_t *, uint16_t, |
581 | uint16_t *, uint16_t *); | 589 | uint16_t *, uint16_t *); |
590 | |||
591 | /* Minidump related functions */ | ||
592 | extern int qla82xx_md_get_template_size(scsi_qla_host_t *); | ||
593 | extern int qla82xx_md_get_template(scsi_qla_host_t *); | ||
594 | extern int qla82xx_md_alloc(scsi_qla_host_t *); | ||
595 | extern void qla82xx_md_free(scsi_qla_host_t *); | ||
596 | extern int qla82xx_md_collect(scsi_qla_host_t *); | ||
597 | extern void qla82xx_md_prep(scsi_qla_host_t *); | ||
598 | extern void qla82xx_set_reset_owner(scsi_qla_host_t *); | ||
599 | |||
582 | #endif /* _QLA_GBL_H */ | 600 | #endif /* _QLA_GBL_H */ |