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/iscsi_if.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/iscsi_if.h')
-rw-r--r-- | include/scsi/iscsi_if.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h index e057c5d3703d..1a18196d77f6 100644 --- a/include/scsi/iscsi_if.h +++ b/include/scsi/iscsi_if.h | |||
@@ -229,6 +229,11 @@ enum iscsi_param { | |||
229 | ISCSI_PARAM_CONN_PORT, | 229 | ISCSI_PARAM_CONN_PORT, |
230 | ISCSI_PARAM_CONN_ADDRESS, | 230 | ISCSI_PARAM_CONN_ADDRESS, |
231 | 231 | ||
232 | ISCSI_PARAM_USERNAME, | ||
233 | ISCSI_PARAM_USERNAME_IN, | ||
234 | ISCSI_PARAM_PASSWORD, | ||
235 | ISCSI_PARAM_PASSWORD_IN, | ||
236 | |||
232 | /* must always be last */ | 237 | /* must always be last */ |
233 | ISCSI_PARAM_MAX, | 238 | ISCSI_PARAM_MAX, |
234 | }; | 239 | }; |
@@ -255,6 +260,10 @@ enum iscsi_param { | |||
255 | #define ISCSI_SESS_RECOVERY_TMO (1 << ISCSI_PARAM_SESS_RECOVERY_TMO) | 260 | #define ISCSI_SESS_RECOVERY_TMO (1 << ISCSI_PARAM_SESS_RECOVERY_TMO) |
256 | #define ISCSI_CONN_PORT (1 << ISCSI_PARAM_CONN_PORT) | 261 | #define ISCSI_CONN_PORT (1 << ISCSI_PARAM_CONN_PORT) |
257 | #define ISCSI_CONN_ADDRESS (1 << ISCSI_PARAM_CONN_ADDRESS) | 262 | #define ISCSI_CONN_ADDRESS (1 << ISCSI_PARAM_CONN_ADDRESS) |
263 | #define ISCSI_USERNAME (1 << ISCSI_PARAM_USERNAME) | ||
264 | #define ISCSI_USERNAME_IN (1 << ISCSI_PARAM_USERNAME_IN) | ||
265 | #define ISCSI_PASSWORD (1 << ISCSI_PARAM_PASSWORD) | ||
266 | #define ISCSI_PASSWORD_IN (1 << ISCSI_PARAM_PASSWORD_IN) | ||
258 | 267 | ||
259 | /* iSCSI HBA params */ | 268 | /* iSCSI HBA params */ |
260 | enum iscsi_host_param { | 269 | enum iscsi_host_param { |