summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorGiridhar Malavali <gmalavali@marvell.com>2019-01-30 09:50:44 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-02-01 18:11:44 -0500
commit171e4909eac7912c8d9ffaec9a2872b3271dd6e9 (patch)
tree2f84ce8d68b1e528b47a9c1477c02326c0977c63 /drivers/scsi/qla2xxx/qla_def.h
parentede2afb9c8ed784cdf1b6de9cd02f044668b842a (diff)
downloadlwn-171e4909eac7912c8d9ffaec9a2872b3271dd6e9.tar.gz
lwn-171e4909eac7912c8d9ffaec9a2872b3271dd6e9.zip
scsi: qla2xxx: Add new FC-NVMe enable BIT to enable FC-NVMe feature
This patch adds new BIT detection to enable FC-NVMe feature in the driver. [mkp: fixed Giridhar's SoB] Signed-off-by: Giridhar Malavali <gmalavali@marvell.com> Signed-off-by: Himanshu Madhani <hmadhani@marvell.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 97f66b142ff2..8858bb1ea1b2 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -3966,6 +3966,9 @@ struct qla_hw_data {
uint16_t fw_subminor_version;
uint16_t fw_attributes;
uint16_t fw_attributes_h;
+#define FW_ATTR_H_NVME BIT_10
+#define FW_ATTR_H_NVME_UPDATED BIT_14
+
uint16_t fw_attributes_ext[2];
uint32_t fw_memory_size;
uint32_t fw_transfer_size;