summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_bsg.c
diff options
context:
space:
mode:
authorSaurav Kashyap <saurav.kashyap@qlogic.com>2011-11-18 09:03:19 -0800
committerJames Bottomley <JBottomley@Parallels.com>2011-12-15 10:55:10 +0400
commita00f6296aaf92ebe89c72eb98c440410992a33c4 (patch)
tree2f26b6cce7ac888009b1eb549f9a00cdf864a382 /drivers/scsi/qla2xxx/qla_bsg.c
parent5162cf0c4e3962b28a9c8bc1ce89d266db67aa55 (diff)
downloadkernel-common-a00f6296aaf92ebe89c72eb98c440410992a33c4.tar.gz
kernel-common-a00f6296aaf92ebe89c72eb98c440410992a33c4.tar.bz2
kernel-common-a00f6296aaf92ebe89c72eb98c440410992a33c4.zip
[SCSI] qla2xxx: Implement FCP priority tagging for 82xx adapters.
This provides a capability to set a priority in the FCP packet. Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_bsg.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_bsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_bsg.c b/drivers/scsi/qla2xxx/qla_bsg.c
index 371d0de7e30b..c0bc0c6f084d 100644
--- a/drivers/scsi/qla2xxx/qla_bsg.c
+++ b/drivers/scsi/qla2xxx/qla_bsg.c
@@ -102,7 +102,7 @@ qla24xx_proc_fcp_prio_cfg_cmd(struct fc_bsg_job *bsg_job)
bsg_job->reply->reply_payload_rcv_len = 0;
- if (!(IS_QLA24XX_TYPE(ha) || IS_QLA25XX(ha))) {
+ if (!(IS_QLA24XX_TYPE(ha) || IS_QLA25XX(ha) || IS_QLA82XX(ha))) {
ret = -EINVAL;
goto exit_fcp_prio_cfg;
}