]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/scsi/bfa/fabric.c
[SCSI] bfa: ioc attributes fix
[mv-sheeva.git] / drivers / scsi / bfa / fabric.c
index 9315383fff8ae1ca9bfed3d8760cd679cbce8895..c646d6dd789bab413f1b9c1b9f41eb9c86dfc040 100644 (file)
@@ -1270,6 +1270,22 @@ bfa_fcs_fabric_set_fabric_name(struct bfa_fcs_fabric_s *fabric,
 
 }
 
+/**
+ *
+ * @param[in] fabric - fabric
+ * @param[in] node_symname -
+ *              Caller allocated buffer to receive the symbolic name
+ *
+ * @return - none
+ */
+void
+bfa_fcs_get_sym_name(const struct bfa_fcs_s *fcs, char *node_symname)
+{
+       bfa_os_memcpy(node_symname,
+                       fcs->fabric.bport.port_cfg.sym_name.symname,
+                       BFA_SYMNAME_MAXLEN);
+}
+
 /**
  * Not used by FCS.
  */