diff options
author | brking@us.ibm.com <brking@us.ibm.com> | 2005-11-01 18:01:34 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-11-06 14:04:41 -0500 |
commit | d3c74871bdcb9cb09dca22994dfee8500515f28f (patch) | |
tree | 431d8605fd41842e77c5e314df9f29ca8881f036 /drivers/scsi/ipr.c | |
parent | 12baa4202d74d799f4f8a4bd0455b485e4f8e876 (diff) |
[SCSI] ipr: Runtime debugging options
Make some compile time debugging options runtime module options.
Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r-- | drivers/scsi/ipr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 72b588d65562..1d440f2763ca 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -92,6 +92,7 @@ static int ipr_testmode = 0; | |||
92 | static unsigned int ipr_fastfail = 0; | 92 | static unsigned int ipr_fastfail = 0; |
93 | static unsigned int ipr_transop_timeout = IPR_OPERATIONAL_TIMEOUT; | 93 | static unsigned int ipr_transop_timeout = IPR_OPERATIONAL_TIMEOUT; |
94 | static unsigned int ipr_enable_cache = 1; | 94 | static unsigned int ipr_enable_cache = 1; |
95 | static unsigned int ipr_debug = 0; | ||
95 | static DEFINE_SPINLOCK(ipr_driver_lock); | 96 | static DEFINE_SPINLOCK(ipr_driver_lock); |
96 | 97 | ||
97 | /* This table describes the differences between DMA controller chips */ | 98 | /* This table describes the differences between DMA controller chips */ |
@@ -153,6 +154,8 @@ module_param_named(transop_timeout, ipr_transop_timeout, int, 0); | |||
153 | MODULE_PARM_DESC(transop_timeout, "Time in seconds to wait for adapter to come operational (default: 300)"); | 154 | MODULE_PARM_DESC(transop_timeout, "Time in seconds to wait for adapter to come operational (default: 300)"); |
154 | module_param_named(enable_cache, ipr_enable_cache, int, 0); | 155 | module_param_named(enable_cache, ipr_enable_cache, int, 0); |
155 | MODULE_PARM_DESC(enable_cache, "Enable adapter's non-volatile write cache (default: 1)"); | 156 | MODULE_PARM_DESC(enable_cache, "Enable adapter's non-volatile write cache (default: 1)"); |
157 | module_param_named(debug, ipr_debug, int, 0); | ||
158 | MODULE_PARM_DESC(debug, "Enable device driver debugging logging. Set to 1 to enable. (default: 0)"); | ||
156 | MODULE_LICENSE("GPL"); | 159 | MODULE_LICENSE("GPL"); |
157 | MODULE_VERSION(IPR_DRIVER_VERSION); | 160 | MODULE_VERSION(IPR_DRIVER_VERSION); |
158 | 161 | ||