diff options
author | Christoph Hellwig <hch@infradead.org> | 2014-11-24 10:07:25 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-12-04 03:58:33 -0500 |
commit | 68d81f40047cc4f99e86807e1160fb07a7b856c7 (patch) | |
tree | a1d260df122f4dd9c2830832e4b09b6075ee1323 /drivers/scsi/qla2xxx | |
parent | 4e484896ac8b1877097770bc630802d5535e8d46 (diff) |
scsi: remove MSG_*_TAG defines
For SPI drivers use the message definitions from scsi.h, and for target
drivers introduce a new TCM_*_TAG namespace.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_target.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index a902fa1db7af..57418258c101 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c | |||
@@ -3218,25 +3218,25 @@ static inline int qlt_get_fcp_task_attr(struct scsi_qla_host *vha, | |||
3218 | 3218 | ||
3219 | switch (task_codes) { | 3219 | switch (task_codes) { |
3220 | case ATIO_SIMPLE_QUEUE: | 3220 | case ATIO_SIMPLE_QUEUE: |
3221 | fcp_task_attr = MSG_SIMPLE_TAG; | 3221 | fcp_task_attr = TCM_SIMPLE_TAG; |
3222 | break; | 3222 | break; |
3223 | case ATIO_HEAD_OF_QUEUE: | 3223 | case ATIO_HEAD_OF_QUEUE: |
3224 | fcp_task_attr = MSG_HEAD_TAG; | 3224 | fcp_task_attr = TCM_HEAD_TAG; |
3225 | break; | 3225 | break; |
3226 | case ATIO_ORDERED_QUEUE: | 3226 | case ATIO_ORDERED_QUEUE: |
3227 | fcp_task_attr = MSG_ORDERED_TAG; | 3227 | fcp_task_attr = TCM_ORDERED_TAG; |
3228 | break; | 3228 | break; |
3229 | case ATIO_ACA_QUEUE: | 3229 | case ATIO_ACA_QUEUE: |
3230 | fcp_task_attr = MSG_ACA_TAG; | 3230 | fcp_task_attr = TCM_ACA_TAG; |
3231 | break; | 3231 | break; |
3232 | case ATIO_UNTAGGED: | 3232 | case ATIO_UNTAGGED: |
3233 | fcp_task_attr = MSG_SIMPLE_TAG; | 3233 | fcp_task_attr = TCM_SIMPLE_TAG; |
3234 | break; | 3234 | break; |
3235 | default: | 3235 | default: |
3236 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf05d, | 3236 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf05d, |
3237 | "qla_target: unknown task code %x, use ORDERED instead\n", | 3237 | "qla_target: unknown task code %x, use ORDERED instead\n", |
3238 | task_codes); | 3238 | task_codes); |
3239 | fcp_task_attr = MSG_ORDERED_TAG; | 3239 | fcp_task_attr = TCM_ORDERED_TAG; |
3240 | break; | 3240 | break; |
3241 | } | 3241 | } |
3242 | 3242 | ||