summaryrefslogtreecommitdiff
path: root/drivers/scsi/bfa/bfa_lps.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bfa/bfa_lps.c')
-rw-r--r--drivers/scsi/bfa/bfa_lps.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfa_lps.c b/drivers/scsi/bfa/bfa_lps.c
index 4c98bdab3119..730616f6e671 100644
--- a/drivers/scsi/bfa/bfa_lps.c
+++ b/drivers/scsi/bfa/bfa_lps.c
@@ -613,9 +613,9 @@ bfa_lps_get_max_vport(struct bfa_s *bfa)
bfa_get_attr(bfa, &ioc_attr);
if (ioc_attr.pci_attr.device_id == BFA_PCI_DEVICE_ID_CT)
- return (BFA_LPS_MAX_VPORTS_SUPP_CT);
+ return BFA_LPS_MAX_VPORTS_SUPP_CT;
else
- return (BFA_LPS_MAX_VPORTS_SUPP_CB);
+ return BFA_LPS_MAX_VPORTS_SUPP_CB;
}
/**
@@ -837,6 +837,14 @@ bfa_lps_get_lsrjt_expl(struct bfa_lps_s *lps)
return lps->lsrjt_expl;
}
+/**
+ * Return fpma/spma MAC for lport
+ */
+struct mac_s
+bfa_lps_get_lp_mac(struct bfa_lps_s *lps)
+{
+ return lps->lp_mac;
+}
/**
* LPS firmware message class handler.