Skip to content

Commit 1c7a94e

Browse files
sreekanthbrcmmartinkpetersen
authored andcommitted
scsi: mpt3sas: Display message on Configurable secure HBA
Display following warning message only upon detection of configurable secure type controllers. "HBA is in Configurable Secure mode" [mkp: typos] Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 6920e6a commit 1c7a94e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/scsi/mpt3sas/mpt3sas_scsih.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10366,16 +10366,17 @@ _scsih_probe(struct pci_dev *pdev, const struct pci_device_id *id)
1036610366
ioc->id = mpt3_ids++;
1036710367
sprintf(ioc->driver_name, "%s", MPT3SAS_DRIVER_NAME);
1036810368
switch (pdev->device) {
10369+
case MPI26_MFGPAGE_DEVID_CFG_SEC_3816:
10370+
case MPI26_MFGPAGE_DEVID_CFG_SEC_3916:
10371+
dev_info(&pdev->dev,
10372+
"HBA is in Configurable Secure mode\n");
1036910373
case MPI26_MFGPAGE_DEVID_SAS3508:
1037010374
case MPI26_MFGPAGE_DEVID_SAS3508_1:
1037110375
case MPI26_MFGPAGE_DEVID_SAS3408:
1037210376
case MPI26_MFGPAGE_DEVID_SAS3516:
1037310377
case MPI26_MFGPAGE_DEVID_SAS3516_1:
1037410378
case MPI26_MFGPAGE_DEVID_SAS3416:
1037510379
case MPI26_MFGPAGE_DEVID_SAS3616:
10376-
case MPI26_MFGPAGE_DEVID_CFG_SEC_3816:
10377-
case MPI26_MFGPAGE_DEVID_CFG_SEC_3916:
10378-
ioc_warn(ioc, "HBA is in Configurable Secure mode\n");
1037910380
case MPI26_MFGPAGE_DEVID_HARD_SEC_3816:
1038010381
case MPI26_MFGPAGE_DEVID_HARD_SEC_3916:
1038110382
ioc->is_gen35_ioc = 1;

0 commit comments

Comments
 (0)