Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] bfa: Add new hardware model info to sysfs model description routine.

- Added new hardware model Brocade-1867 information to
sysfs model description routine.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

authored by

Krishna Gudipati and committed by
James Bottomley
6dca60a3 c3f1b123

+7
+7
drivers/scsi/bfa/bfad_attr.c
··· 824 824 else if (nports == 2 && !bfa_ioc_is_cna(&bfad->bfa.ioc)) 825 825 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, 826 826 "Brocade 16Gbps PCIe dual port FC HBA"); 827 + } else if (!strcmp(model, "Brocade-1867")) { 828 + if (nports == 1 && !bfa_ioc_is_cna(&bfad->bfa.ioc)) 829 + snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, 830 + "Brocade 16Gbps PCIe single port FC HBA for IBM"); 831 + else if (nports == 2 && !bfa_ioc_is_cna(&bfad->bfa.ioc)) 832 + snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, 833 + "Brocade 16Gbps PCIe dual port FC HBA for IBM"); 827 834 } else 828 835 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, 829 836 "Invalid Model");