diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-03-05 15:45:58 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-13 16:27:09 -0400 |
commit | 1b2c7af877f427a2b25583c9033616c9ebd30aed (patch) | |
tree | 9093ff19581e0366567ec359b3f41bc70f239f99 /include/scsi | |
parent | 48a237a26db0a31404c83a88e984b37a30ddcf5a (diff) |
[SCSI] libiscsi: replace scsi_debug logging with session/conn logging
This makes the logging a compile time option and replaces
the scsi_debug macro with session and connection ones
that print out a driver model id prefix.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libiscsi.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index 7360e1916e75..67542aa3aedc 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -45,13 +45,6 @@ struct iscsi_session; | |||
45 | struct iscsi_nopin; | 45 | struct iscsi_nopin; |
46 | struct device; | 46 | struct device; |
47 | 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 */ | 48 | #define ISCSI_DEF_XMIT_CMDS_MAX 128 /* must be power of 2 */ |
56 | #define ISCSI_MGMT_CMDS_MAX 15 | 49 | #define ISCSI_MGMT_CMDS_MAX 15 |
57 | 50 | ||