summaryrefslogtreecommitdiff
path: root/drivers/scsi/be2iscsi/be_mgmt.c
diff options
context:
space:
mode:
authorJitendra Bhivare <jitendra.bhivare@broadcom.com>2016-08-19 12:50:06 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-08-24 05:42:43 +0300
commit96b48b9292a234e90e812a063f552e76672135b5 (patch)
treecde97626b812ce64dd4abb6a63ccde3f68be5d03 /drivers/scsi/be2iscsi/be_mgmt.c
parentc5bf88897afecf015d9d8599d7ce3e5c3d01a0a7 (diff)
downloadlinux-96b48b9292a234e90e812a063f552e76672135b5.tar.xz
scsi: be2iscsi: Rename iface get/set/create/destroy APIs
Rename mgmt_get_if_info to be consistent with APIs name. Rename create/destroy APIs to indicate IFACE operations. Remove legacy be2iscsi and use beiscsi. Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.c')
-rw-r--r--drivers/scsi/be2iscsi/be_mgmt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.c b/drivers/scsi/be2iscsi/be_mgmt.c
index fa95525c11b3..8d05add812c4 100644
--- a/drivers/scsi/be2iscsi/be_mgmt.c
+++ b/drivers/scsi/be2iscsi/be_mgmt.c
@@ -1167,7 +1167,7 @@ int beiscsi_if_en_static(struct beiscsi_hba *phba, u32 ip_type,
struct be_dma_mem nonemb_cmd;
int rc;
- rc = mgmt_get_if_info(phba, ip_type, &if_info);
+ rc = beiscsi_if_get_info(phba, ip_type, &if_info);
if (rc)
return rc;
@@ -1212,7 +1212,7 @@ int beiscsi_if_en_dhcp(struct beiscsi_hba *phba, u32 ip_type)
u8 *gw;
int rc;
- rc = mgmt_get_if_info(phba, ip_type, &if_info);
+ rc = beiscsi_if_get_info(phba, ip_type, &if_info);
if (rc)
return rc;
@@ -1299,8 +1299,8 @@ int beiscsi_if_set_vlan(struct beiscsi_hba *phba, uint16_t vlan_tag)
}
-int mgmt_get_if_info(struct beiscsi_hba *phba, int ip_type,
- struct be_cmd_get_if_info_resp **if_info)
+int beiscsi_if_get_info(struct beiscsi_hba *phba, int ip_type,
+ struct be_cmd_get_if_info_resp **if_info)
{
struct be_cmd_get_if_info_req *req;
struct be_dma_mem nonemb_cmd;