diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-06-23 19:10:29 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-26 17:20:44 -0400 |
commit | a7a167bf7e2d196fc33f292e7b02e90fee03bc9a (patch) | |
tree | 1e62085065440e012a7cd2d48cd161bfac408adc /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 9ea7290902abcf22f796e9aeae4dc2e71d3f7e67 (diff) |
[SCSI] qla2xxx: Rework firmware-trace facilities.
- Defer firmware dump-data raw-to-textual conversion to
user-space.
- Add module parameter (ql2xallocfwdump) to allow for per-HBA
allocations of firmware dump memory.
- Dump request and response queue data as per firmware group
request.
- Add extended firmware trace support for ISP24XX/ISP54XX chips.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 164d53ccbfd0..fec1e1c9381f 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -51,6 +51,8 @@ extern int qla2x00_abort_isp(scsi_qla_host_t *); | |||
51 | extern void qla2x00_update_fcport(scsi_qla_host_t *, fc_port_t *); | 51 | extern void qla2x00_update_fcport(scsi_qla_host_t *, fc_port_t *); |
52 | extern void qla2x00_reg_remote_port(scsi_qla_host_t *, fc_port_t *); | 52 | extern void qla2x00_reg_remote_port(scsi_qla_host_t *, fc_port_t *); |
53 | 53 | ||
54 | extern void qla2x00_alloc_fw_dump(scsi_qla_host_t *); | ||
55 | |||
54 | /* | 56 | /* |
55 | * Global Data in qla_os.c source file. | 57 | * Global Data in qla_os.c source file. |
56 | */ | 58 | */ |
@@ -61,6 +63,7 @@ extern int qlport_down_retry; | |||
61 | extern int ql2xplogiabsentdevice; | 63 | extern int ql2xplogiabsentdevice; |
62 | extern int ql2xloginretrycount; | 64 | extern int ql2xloginretrycount; |
63 | extern int ql2xfdmienable; | 65 | extern int ql2xfdmienable; |
66 | extern int ql2xallocfwdump; | ||
64 | 67 | ||
65 | extern void qla2x00_sp_compl(scsi_qla_host_t *, srb_t *); | 68 | extern void qla2x00_sp_compl(scsi_qla_host_t *, srb_t *); |
66 | 69 | ||
@@ -204,6 +207,9 @@ qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t); | |||
204 | extern int | 207 | extern int |
205 | qla2x00_stop_firmware(scsi_qla_host_t *); | 208 | qla2x00_stop_firmware(scsi_qla_host_t *); |
206 | 209 | ||
210 | extern int | ||
211 | qla2x00_trace_control(scsi_qla_host_t *, uint16_t, dma_addr_t, uint16_t); | ||
212 | |||
207 | /* | 213 | /* |
208 | * Global Function Prototypes in qla_isr.c source file. | 214 | * Global Function Prototypes in qla_isr.c source file. |
209 | */ | 215 | */ |
@@ -254,9 +260,6 @@ extern int qla24xx_write_optrom_data(struct scsi_qla_host *, uint8_t *, | |||
254 | extern void qla2100_fw_dump(scsi_qla_host_t *, int); | 260 | extern void qla2100_fw_dump(scsi_qla_host_t *, int); |
255 | extern void qla2300_fw_dump(scsi_qla_host_t *, int); | 261 | extern void qla2300_fw_dump(scsi_qla_host_t *, int); |
256 | extern void qla24xx_fw_dump(scsi_qla_host_t *, int); | 262 | extern void qla24xx_fw_dump(scsi_qla_host_t *, int); |
257 | extern void qla2100_ascii_fw_dump(scsi_qla_host_t *); | ||
258 | extern void qla2300_ascii_fw_dump(scsi_qla_host_t *); | ||
259 | extern void qla24xx_ascii_fw_dump(scsi_qla_host_t *); | ||
260 | extern void qla2x00_dump_regs(scsi_qla_host_t *); | 263 | extern void qla2x00_dump_regs(scsi_qla_host_t *); |
261 | extern void qla2x00_dump_buffer(uint8_t *, uint32_t); | 264 | extern void qla2x00_dump_buffer(uint8_t *, uint32_t); |
262 | extern void qla2x00_print_scsi_cmd(struct scsi_cmnd *); | 265 | extern void qla2x00_print_scsi_cmd(struct scsi_cmnd *); |