diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-05-30 13:57:12 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2007-06-01 12:55:23 -0400 |
commit | 0801c242a33426fddc005c2f559a3d2fa6fca7eb (patch) | |
tree | be5b4b54766ee7f53458a5cd69e9f9ada8102676 /drivers/infiniband | |
parent | 1d9bf13a9cf91f8faf221e98a64dd1157bcf5fa9 (diff) |
[SCSI] libiscsi, iscsi_tcp, ib_iser : add sw iscsi host get/set params helpers
iscsid and udev need to key off the hw address being
used so add some helpers for iser and iscsi tcp.
Also convert them
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/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index dd221eda3ea6..2a99b7b6c906 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c | |||
@@ -576,6 +576,7 @@ static struct iscsi_transport iscsi_iser_transport = { | |||
576 | ISCSI_PERSISTENT_ADDRESS | | 576 | ISCSI_PERSISTENT_ADDRESS | |
577 | ISCSI_TARGET_NAME | | 577 | ISCSI_TARGET_NAME | |
578 | ISCSI_TPGT, | 578 | ISCSI_TPGT, |
579 | .host_param_mask = ISCSI_HOST_HWADDRESS, | ||
579 | .host_template = &iscsi_iser_sht, | 580 | .host_template = &iscsi_iser_sht, |
580 | .conndata_size = sizeof(struct iscsi_conn), | 581 | .conndata_size = sizeof(struct iscsi_conn), |
581 | .max_lun = ISCSI_ISER_MAX_LUN, | 582 | .max_lun = ISCSI_ISER_MAX_LUN, |
@@ -592,6 +593,9 @@ static struct iscsi_transport iscsi_iser_transport = { | |||
592 | .get_session_param = iscsi_session_get_param, | 593 | .get_session_param = iscsi_session_get_param, |
593 | .start_conn = iscsi_iser_conn_start, | 594 | .start_conn = iscsi_iser_conn_start, |
594 | .stop_conn = iscsi_conn_stop, | 595 | .stop_conn = iscsi_conn_stop, |
596 | /* iscsi host params */ | ||
597 | .get_host_param = iscsi_host_get_param, | ||
598 | .set_host_param = iscsi_host_set_param, | ||
595 | /* IO */ | 599 | /* IO */ |
596 | .send_pdu = iscsi_conn_send_pdu, | 600 | .send_pdu = iscsi_conn_send_pdu, |
597 | .get_stats = iscsi_iser_conn_get_stats, | 601 | .get_stats = iscsi_iser_conn_get_stats, |