diff options
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/iscsi_if.h | 7 | ||||
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h index d0ed5226f8c4..2c1a4af9eafb 100644 --- a/include/scsi/iscsi_if.h +++ b/include/scsi/iscsi_if.h | |||
@@ -50,7 +50,8 @@ enum iscsi_uevent_e { | |||
50 | ISCSI_UEVENT_TGT_DSCVR = UEVENT_BASE + 15, | 50 | ISCSI_UEVENT_TGT_DSCVR = UEVENT_BASE + 15, |
51 | ISCSI_UEVENT_SET_HOST_PARAM = UEVENT_BASE + 16, | 51 | ISCSI_UEVENT_SET_HOST_PARAM = UEVENT_BASE + 16, |
52 | ISCSI_UEVENT_UNBIND_SESSION = UEVENT_BASE + 17, | 52 | ISCSI_UEVENT_UNBIND_SESSION = UEVENT_BASE + 17, |
53 | ISCSI_UEVENT_CREATE_BOUND_SESSION = UEVENT_BASE + 18, | 53 | ISCSI_UEVENT_CREATE_BOUND_SESSION = UEVENT_BASE + 18, |
54 | ISCSI_UEVENT_TRANSPORT_EP_CONNECT_THROUGH_HOST = UEVENT_BASE + 19, | ||
54 | 55 | ||
55 | /* up events */ | 56 | /* up events */ |
56 | ISCSI_KEVENT_RECV_PDU = KEVENT_BASE + 1, | 57 | ISCSI_KEVENT_RECV_PDU = KEVENT_BASE + 1, |
@@ -131,6 +132,10 @@ struct iscsi_uevent { | |||
131 | struct msg_transport_connect { | 132 | struct msg_transport_connect { |
132 | uint32_t non_blocking; | 133 | uint32_t non_blocking; |
133 | } ep_connect; | 134 | } ep_connect; |
135 | struct msg_transport_connect_through_host { | ||
136 | uint32_t host_no; | ||
137 | uint32_t non_blocking; | ||
138 | } ep_connect_through_host; | ||
134 | struct msg_transport_poll { | 139 | struct msg_transport_poll { |
135 | uint64_t ep_handle; | 140 | uint64_t ep_handle; |
136 | uint32_t timeout_ms; | 141 | uint32_t timeout_ms; |
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 457588e1119b..8cb7a31d9961 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h | |||
@@ -126,7 +126,8 @@ struct iscsi_transport { | |||
126 | int *index, int *age); | 126 | int *index, int *age); |
127 | 127 | ||
128 | void (*session_recovery_timedout) (struct iscsi_cls_session *session); | 128 | void (*session_recovery_timedout) (struct iscsi_cls_session *session); |
129 | struct iscsi_endpoint *(*ep_connect) (struct sockaddr *dst_addr, | 129 | struct iscsi_endpoint *(*ep_connect) (struct Scsi_Host *shost, |
130 | struct sockaddr *dst_addr, | ||
130 | int non_blocking); | 131 | int non_blocking); |
131 | int (*ep_poll) (struct iscsi_endpoint *ep, int timeout_ms); | 132 | int (*ep_poll) (struct iscsi_endpoint *ep, int timeout_ms); |
132 | void (*ep_disconnect) (struct iscsi_endpoint *ep); | 133 | void (*ep_disconnect) (struct iscsi_endpoint *ep); |