aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/iscsi_if.h2
-rw-r--r--include/scsi/libiscsi.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h
index 3d0372e30ca1..e057c5d3703d 100644
--- a/include/scsi/iscsi_if.h
+++ b/include/scsi/iscsi_if.h
@@ -259,10 +259,12 @@ enum iscsi_param {
259/* iSCSI HBA params */ 259/* iSCSI HBA params */
260enum iscsi_host_param { 260enum iscsi_host_param {
261 ISCSI_HOST_PARAM_HWADDRESS, 261 ISCSI_HOST_PARAM_HWADDRESS,
262 ISCSI_HOST_PARAM_INITIATOR_NAME,
262 ISCSI_HOST_PARAM_MAX, 263 ISCSI_HOST_PARAM_MAX,
263}; 264};
264 265
265#define ISCSI_HOST_HWADDRESS (1 << ISCSI_HOST_PARAM_HWADDRESS) 266#define ISCSI_HOST_HWADDRESS (1 << ISCSI_HOST_PARAM_HWADDRESS)
267#define ISCSI_HOST_INITIATOR_NAME (1 << ISCSI_HOST_PARAM_INITIATOR_NAME)
266 268
267#define iscsi_ptr(_handle) ((void*)(unsigned long)_handle) 269#define iscsi_ptr(_handle) ((void*)(unsigned long)_handle)
268#define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr) 270#define iscsi_handle(_ptr) ((uint64_t)(unsigned long)_ptr)
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index e202cc00c8e7..deae90a56a0d 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -224,6 +224,7 @@ struct iscsi_session {
224 int erl; 224 int erl;
225 int tpgt; 225 int tpgt;
226 char *targetname; 226 char *targetname;
227 char *initiatorname;
227 /* hw address being used for iscsi connection */ 228 /* hw address being used for iscsi connection */
228 char *hwaddress; 229 char *hwaddress;
229 /* control data */ 230 /* control data */