diff options
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | 2016-08-19 12:50:06 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-08-24 05:42:43 +0300 |
commit | 96b48b9292a234e90e812a063f552e76672135b5 (patch) | |
tree | cde97626b812ce64dd4abb6a63ccde3f68be5d03 /drivers/scsi/be2iscsi/be_iscsi.h | |
parent | c5bf88897afecf015d9d8599d7ce3e5c3d01a0a7 (diff) | |
download | linux-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_iscsi.h')
-rw-r--r-- | drivers/scsi/be2iscsi/be_iscsi.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/be2iscsi/be_iscsi.h b/drivers/scsi/be2iscsi/be_iscsi.h index 0c84e1c0763a..5928ba9d8918 100644 --- a/drivers/scsi/be2iscsi/be_iscsi.h +++ b/drivers/scsi/be2iscsi/be_iscsi.h @@ -30,18 +30,18 @@ #define NON_BLOCKING 0x0 #define BLOCKING 0x1 -void beiscsi_create_def_ifaces(struct beiscsi_hba *phba); +void beiscsi_iface_create_default(struct beiscsi_hba *phba); -void beiscsi_destroy_def_ifaces(struct beiscsi_hba *phba); +void beiscsi_iface_destroy_default(struct beiscsi_hba *phba); -int be2iscsi_iface_get_param(struct iscsi_iface *iface, +int beiscsi_iface_get_param(struct iscsi_iface *iface, enum iscsi_param_type param_type, int param, char *buf); -int be2iscsi_iface_set_param(struct Scsi_Host *shost, +int beiscsi_iface_set_param(struct Scsi_Host *shost, void *data, uint32_t count); -umode_t be2iscsi_attr_is_visible(int param_type, int param); +umode_t beiscsi_attr_is_visible(int param_type, int param); void beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn, struct beiscsi_offload_params *params); |