aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/iscsi_tcp.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2007-05-30 13:57:16 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2007-06-01 12:58:58 -0400
commitb2c6416736b847b91950bd43cc5153e11a1f83ee (patch)
tree7d7642d9b62b22aceedf8e86570783364ecd99d1 /drivers/scsi/iscsi_tcp.c
parent857ae0bdb72999936a28ce621e38e2e288c485da (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 'drivers/scsi/iscsi_tcp.c')
-rw-r--r--drivers/scsi/iscsi_tcp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c
index b2827d112cb0..1e722f5aabd4 100644
--- a/drivers/scsi/iscsi_tcp.c
+++ b/drivers/scsi/iscsi_tcp.c
@@ -2186,8 +2186,9 @@ static struct iscsi_transport iscsi_tcp_transport = {
2186 ISCSI_EXP_STATSN | 2186 ISCSI_EXP_STATSN |
2187 ISCSI_PERSISTENT_PORT | 2187 ISCSI_PERSISTENT_PORT |
2188 ISCSI_PERSISTENT_ADDRESS | 2188 ISCSI_PERSISTENT_ADDRESS |
2189 ISCSI_TARGET_NAME | 2189 ISCSI_TARGET_NAME | ISCSI_TPGT |
2190 ISCSI_TPGT, 2190 ISCSI_USERNAME | ISCSI_PASSWORD |
2191 ISCSI_USERNAME_IN | ISCSI_PASSWORD_IN,
2191 .host_param_mask = ISCSI_HOST_HWADDRESS | 2192 .host_param_mask = ISCSI_HOST_HWADDRESS |
2192 ISCSI_HOST_INITIATOR_NAME, 2193 ISCSI_HOST_INITIATOR_NAME,
2193 .host_template = &iscsi_sht, 2194 .host_template = &iscsi_sht,