libiscsi.h (5a2dd72abdae75ea2960145e0549635ce4e0be96) libiscsi.h (1b2c7af877f427a2b25583c9033616c9ebd30aed)
1/*
2 * iSCSI lib definitions
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2004 - 2006 Mike Christie
6 * Copyright (C) 2004 - 2005 Dmitry Yusupov
7 * Copyright (C) 2004 - 2005 Alex Aizman
8 *

--- 31 unchanged lines hidden (view full) ---

40struct socket;
41struct iscsi_transport;
42struct iscsi_cls_session;
43struct iscsi_cls_conn;
44struct iscsi_session;
45struct iscsi_nopin;
46struct device;
47
1/*
2 * iSCSI lib definitions
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2004 - 2006 Mike Christie
6 * Copyright (C) 2004 - 2005 Dmitry Yusupov
7 * Copyright (C) 2004 - 2005 Alex Aizman
8 *

--- 31 unchanged lines hidden (view full) ---

40struct socket;
41struct iscsi_transport;
42struct iscsi_cls_session;
43struct iscsi_cls_conn;
44struct iscsi_session;
45struct iscsi_nopin;
46struct device;
47
48/* #define DEBUG_SCSI */
49#ifdef DEBUG_SCSI
50#define debug_scsi(fmt...) printk(KERN_INFO "iscsi: " fmt)
51#else
52#define debug_scsi(fmt...)
53#endif
54
55#define ISCSI_DEF_XMIT_CMDS_MAX 128 /* must be power of 2 */
56#define ISCSI_MGMT_CMDS_MAX 15
57
58#define ISCSI_DEF_CMD_PER_LUN 32
59#define ISCSI_MAX_CMD_PER_LUN 128
60
61/* Task Mgmt states */
62enum {

--- 376 unchanged lines hidden ---
48#define ISCSI_DEF_XMIT_CMDS_MAX 128 /* must be power of 2 */
49#define ISCSI_MGMT_CMDS_MAX 15
50
51#define ISCSI_DEF_CMD_PER_LUN 32
52#define ISCSI_MAX_CMD_PER_LUN 128
53
54/* Task Mgmt states */
55enum {

--- 376 unchanged lines hidden ---