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_def.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_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 7e11ccf0fe81..84e9c6b48ca3 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -2981,9 +2981,15 @@ typedef struct scsi_qla_host { | |||
2981 | 2981 | ||
2982 | #define QLA_DSDS_PER_IOCB 37 | 2982 | #define QLA_DSDS_PER_IOCB 37 |
2983 | 2983 | ||
2984 | #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) | ||
2985 | |||
2986 | enum nexus_wait_type { | ||
2987 | WAIT_HOST = 0, | ||
2988 | WAIT_TARGET, | ||
2989 | WAIT_LUN, | ||
2990 | }; | ||
2991 | |||
2984 | #include "qla_gbl.h" | 2992 | #include "qla_gbl.h" |
2985 | #include "qla_dbg.h" | 2993 | #include "qla_dbg.h" |
2986 | #include "qla_inline.h" | 2994 | #include "qla_inline.h" |
2987 | |||
2988 | #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) | ||
2989 | #endif | 2995 | #endif |