aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaved Hasan <[email protected]>2021-06-03 05:16:20 -0700
committerMartin K. Petersen <[email protected]>2021-06-10 00:03:32 -0400
commitadb98ec72b7213f39cf83dae41d6137da33bde5a (patch)
treee6ad87bd812026114fb166c37c5bfd0c64661867
parent0726af6bfc6b9f82617da1b7002e33b38453a90e (diff)
scsi: qedf: Add vendor identifier attribute
Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Javed Hasan <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r--drivers/scsi/qedf/qedf_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c
index 176f1a1c9150..49e1168a2ac7 100644
--- a/drivers/scsi/qedf/qedf_main.c
+++ b/drivers/scsi/qedf/qedf_main.c
@@ -1715,6 +1715,9 @@ static void qedf_setup_fdmi(struct qedf_ctx *qedf)
FW_MAJOR_VERSION, FW_MINOR_VERSION, FW_REVISION_VERSION,
FW_ENGINEERING_VERSION);
+ snprintf(fc_host_vendor_identifier(lport->host),
+ FC_VENDOR_IDENTIFIER, "%s", "Marvell");
+
}
static int qedf_lport_setup(struct qedf_ctx *qedf)