diff options
author | Giridhar Malavali <giridhar.malavali@qlogic.com> | 2010-07-23 06:28:35 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 10:06:15 -0400 |
commit | 4d78c973ef2d21e90ff55f97489d663a0959a93f (patch) | |
tree | 5d82916649e2578d1baad596a7d20bf951a5ed6f /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 3711333dfbeec1905c2d3521d1ed2ddcdbdbac04 (diff) |
[SCSI] qla2xxx: Rearranged and cleaned up the code for processing the pending commands.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 8b0a8ca95086..4688ad2a559e 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -292,7 +292,9 @@ extern int | |||
292 | qla24xx_abort_target(struct fc_port *, unsigned int, int); | 292 | qla24xx_abort_target(struct fc_port *, unsigned int, int); |
293 | extern int | 293 | extern int |
294 | qla24xx_lun_reset(struct fc_port *, unsigned int, int); | 294 | qla24xx_lun_reset(struct fc_port *, unsigned int, int); |
295 | 295 | extern int | |
296 | qla2x00_eh_wait_for_pending_commands(scsi_qla_host_t *, unsigned int, | ||
297 | unsigned int, enum nexus_wait_type); | ||
296 | extern int | 298 | extern int |
297 | qla2x00_system_error(scsi_qla_host_t *); | 299 | qla2x00_system_error(scsi_qla_host_t *); |
298 | 300 | ||
@@ -569,7 +571,6 @@ extern int qla82xx_mbx_intr_enable(scsi_qla_host_t *); | |||
569 | extern int qla82xx_mbx_intr_disable(scsi_qla_host_t *); | 571 | extern int qla82xx_mbx_intr_disable(scsi_qla_host_t *); |
570 | extern void qla82xx_start_iocbs(srb_t *); | 572 | extern void qla82xx_start_iocbs(srb_t *); |
571 | extern int qla82xx_fcoe_ctx_reset(scsi_qla_host_t *); | 573 | extern int qla82xx_fcoe_ctx_reset(scsi_qla_host_t *); |
572 | extern void qla82xx_wait_for_pending_commands(scsi_qla_host_t *); | ||
573 | 574 | ||
574 | /* BSG related functions */ | 575 | /* BSG related functions */ |
575 | extern int qla24xx_bsg_request(struct fc_bsg_job *); | 576 | extern int qla24xx_bsg_request(struct fc_bsg_job *); |