diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-02-13 08:00:49 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 10:35:23 -0500 |
commit | c0b9d3f750520ad3005b99144260e486ef01b5d9 (patch) | |
tree | 2c16adb36151017344dea7681e312fb4f68fd3d5 /drivers/scsi/qla4xxx/ql4_glbl.h | |
parent | ac20c7bf070df2b0feb410558ec4d75dbe59b701 (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.h | 5 |
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, | |||
183 | void qla4xxx_build_ddb_list(struct scsi_qla_host *ha, int is_reset); | 183 | void qla4xxx_build_ddb_list(struct scsi_qla_host *ha, int is_reset); |
184 | int qla4xxx_post_aen_work(struct scsi_qla_host *ha, uint32_t aen_code, | 184 | int 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); |
186 | int qla4xxx_ping_iocb(struct scsi_qla_host *ha, uint32_t options, | ||
187 | uint32_t payload_size, uint32_t pid, uint8_t *ipaddr); | ||
188 | int 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 */ |
188 | int qla4xxx_bsg_request(struct bsg_job *bsg_job); | 193 | int qla4xxx_bsg_request(struct bsg_job *bsg_job); |