aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r--include/scsi/libiscsi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 9a26d715a953..4e1c14f20ddd 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -313,8 +313,6 @@ struct iscsi_host {
313 char local_address[ISCSI_ADDRESS_BUF_LEN]; 313 char local_address[ISCSI_ADDRESS_BUF_LEN];
314}; 314};
315 315
316#define iscsi_host_priv(_shost) \
317 (shost_priv(_shost) + sizeof(struct iscsi_host))
318/* 316/*
319 * scsi host template 317 * scsi host template
320 */ 318 */
@@ -325,10 +323,12 @@ extern int iscsi_eh_device_reset(struct scsi_cmnd *sc);
325extern int iscsi_queuecommand(struct scsi_cmnd *sc, 323extern int iscsi_queuecommand(struct scsi_cmnd *sc,
326 void (*done)(struct scsi_cmnd *)); 324 void (*done)(struct scsi_cmnd *));
327 325
328
329/* 326/*
330 * iSCSI host helpers. 327 * iSCSI host helpers.
331 */ 328 */
329#define iscsi_host_priv(_shost) \
330 (shost_priv(_shost) + sizeof(struct iscsi_host))
331
332extern int iscsi_host_set_param(struct Scsi_Host *shost, 332extern int iscsi_host_set_param(struct Scsi_Host *shost,
333 enum iscsi_host_param param, char *buf, 333 enum iscsi_host_param param, char *buf,
334 int buflen); 334 int buflen);
@@ -360,7 +360,7 @@ extern int iscsi_session_get_param(struct iscsi_cls_session *cls_session,
360 * connection management 360 * connection management
361 */ 361 */
362extern struct iscsi_cls_conn *iscsi_conn_setup(struct iscsi_cls_session *, 362extern struct iscsi_cls_conn *iscsi_conn_setup(struct iscsi_cls_session *,
363 uint32_t); 363 int, uint32_t);
364extern void iscsi_conn_teardown(struct iscsi_cls_conn *); 364extern void iscsi_conn_teardown(struct iscsi_cls_conn *);
365extern int iscsi_conn_start(struct iscsi_cls_conn *); 365extern int iscsi_conn_start(struct iscsi_cls_conn *);
366extern void iscsi_conn_stop(struct iscsi_cls_conn *, int); 366extern void iscsi_conn_stop(struct iscsi_cls_conn *, int);