diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-05-30 13:57:16 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2007-06-01 12:58:58 -0400 |
commit | b2c6416736b847b91950bd43cc5153e11a1f83ee (patch) | |
tree | 7d7642d9b62b22aceedf8e86570783364ecd99d1 /include/scsi/libiscsi.h | |
parent | 857ae0bdb72999936a28ce621e38e2e288c485da (diff) |
[SCSI] iscsi class, iscsi_tcp, ib_iser: add sysfs chap file
The attached patches add sysfs files for the chap settings
to the iscsi transport class, iscsi_tcp and ib_iser. This is
needed for software iscsi because there are times when iscsid
can die and it will need to reread the values it was using.
And it is needed by qla4xxx for basic management opertaions.
This patch does not hook in qla4xxx yet, because I am not sure
the mbx command to use.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: Roland Dreier <rdreier@cisco.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r-- | include/scsi/libiscsi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index 348265d4a27e..61bc8f75b267 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -221,6 +221,10 @@ struct iscsi_session { | |||
221 | int dataseq_inorder_en; | 221 | int dataseq_inorder_en; |
222 | int erl; | 222 | int erl; |
223 | int tpgt; | 223 | int tpgt; |
224 | char *username; | ||
225 | char *username_in; | ||
226 | char *password; | ||
227 | char *password_in; | ||
224 | char *targetname; | 228 | char *targetname; |
225 | char *initiatorname; | 229 | char *initiatorname; |
226 | /* hw address being used for iscsi connection */ | 230 | /* hw address being used for iscsi connection */ |