diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-05-30 13:57:10 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-06-01 12:23:12 -0400 |
commit | 2174a04ee7d8304a270de183fbc58b36dd05b395 (patch) | |
tree | 26fbb873bf9c0f4ef65ec748d4c3f22e12b0a157 /include/scsi/scsi_transport_iscsi.h | |
parent | aa1e93a2fe0392588220d491454e7752d0fdb251 (diff) |
[SCSI] iscsi_transport, qla4xxx: have class lookup host for drivers
We are going to be adding more host level sysfs attrs and
set_params, so this patch has them take a scsi_host instead
of either a scsi_host or host no.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: David C Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index e962c5357eef..902e69f0272c 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h | |||
@@ -127,7 +127,7 @@ struct iscsi_transport { | |||
127 | uint64_t *ep_handle); | 127 | uint64_t *ep_handle); |
128 | int (*ep_poll) (uint64_t ep_handle, int timeout_ms); | 128 | int (*ep_poll) (uint64_t ep_handle, int timeout_ms); |
129 | void (*ep_disconnect) (uint64_t ep_handle); | 129 | void (*ep_disconnect) (uint64_t ep_handle); |
130 | int (*tgt_dscvr) (enum iscsi_tgt_dscvr type, uint32_t host_no, | 130 | int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type, |
131 | uint32_t enable, struct sockaddr *dst_addr); | 131 | uint32_t enable, struct sockaddr *dst_addr); |
132 | }; | 132 | }; |
133 | 133 | ||