aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_glbl.h
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2012-02-13 08:00:49 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 10:35:23 -0500
commitc0b9d3f750520ad3005b99144260e486ef01b5d9 (patch)
tree2c16adb36151017344dea7681e312fb4f68fd3d5 /drivers/scsi/qla4xxx/ql4_glbl.h
parentac20c7bf070df2b0feb410558ec4d75dbe59b701 (diff)
[SCSI] qla4xxx: Added ping support
Added ping support for network connection diagnostics. Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_glbl.h')
-rw-r--r--drivers/scsi/qla4xxx/ql4_glbl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_glbl.h b/drivers/scsi/qla4xxx/ql4_glbl.h
index 34cf851978e9..954ba9188256 100644
--- a/drivers/scsi/qla4xxx/ql4_glbl.h
+++ b/drivers/scsi/qla4xxx/ql4_glbl.h
@@ -183,6 +183,11 @@ int qla4xxx_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
183void qla4xxx_build_ddb_list(struct scsi_qla_host *ha, int is_reset); 183void qla4xxx_build_ddb_list(struct scsi_qla_host *ha, int is_reset);
184int qla4xxx_post_aen_work(struct scsi_qla_host *ha, uint32_t aen_code, 184int qla4xxx_post_aen_work(struct scsi_qla_host *ha, uint32_t aen_code,
185 uint32_t data_size, uint8_t *data); 185 uint32_t data_size, uint8_t *data);
186int qla4xxx_ping_iocb(struct scsi_qla_host *ha, uint32_t options,
187 uint32_t payload_size, uint32_t pid, uint8_t *ipaddr);
188int qla4xxx_post_ping_evt_work(struct scsi_qla_host *ha,
189 uint32_t status, uint32_t pid,
190 uint32_t data_size, uint8_t *data);
186 191
187/* BSG Functions */ 192/* BSG Functions */
188int qla4xxx_bsg_request(struct bsg_job *bsg_job); 193int qla4xxx_bsg_request(struct bsg_job *bsg_job);