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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 8d48cf8f2e3f..2f303a3b270e 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -48,9 +48,8 @@ struct iscsi_nopin;
48#define debug_scsi(fmt...) 48#define debug_scsi(fmt...)
49#endif 49#endif
50 50
51#define ISCSI_XMIT_CMDS_MAX 128 /* must be power of 2 */ 51#define ISCSI_DEF_XMIT_CMDS_MAX 128 /* must be power of 2 */
52#define ISCSI_MGMT_CMDS_MAX 32 /* must be power of 2 */ 52#define ISCSI_MGMT_CMDS_MAX 16 /* must be power of 2 */
53#define ISCSI_CONN_MAX 1
54 53
55#define ISCSI_MGMT_ITT_OFFSET 0xa00 54#define ISCSI_MGMT_ITT_OFFSET 0xa00
56 55
@@ -268,7 +267,7 @@ extern int iscsi_host_get_param(struct Scsi_Host *shost,
268 */ 267 */
269extern struct iscsi_cls_session * 268extern struct iscsi_cls_session *
270iscsi_session_setup(struct iscsi_transport *, struct scsi_transport_template *, 269iscsi_session_setup(struct iscsi_transport *, struct scsi_transport_template *,
271 int, int, uint32_t, uint32_t *); 270 uint16_t, uint16_t, int, int, uint32_t, uint32_t *);
272extern void iscsi_session_teardown(struct iscsi_cls_session *); 271extern void iscsi_session_teardown(struct iscsi_cls_session *);
273extern struct iscsi_session *class_to_transport_session(struct iscsi_cls_session *); 272extern struct iscsi_session *class_to_transport_session(struct iscsi_cls_session *);
274extern void iscsi_session_recovery_timedout(struct iscsi_cls_session *); 273extern void iscsi_session_recovery_timedout(struct iscsi_cls_session *);