diff options
-rw-r--r-- | drivers/scsi/ipr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 97f33ddc7bdd..a5df245c8c2c 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -93,6 +93,7 @@ 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 unsigned int ipr_debug = 0; |
96 | static int ipr_auto_create = 1; | ||
96 | static DEFINE_SPINLOCK(ipr_driver_lock); | 97 | static DEFINE_SPINLOCK(ipr_driver_lock); |
97 | 98 | ||
98 | /* This table describes the differences between DMA controller chips */ | 99 | /* This table describes the differences between DMA controller chips */ |
@@ -156,6 +157,8 @@ module_param_named(enable_cache, ipr_enable_cache, int, 0); | |||
156 | MODULE_PARM_DESC(enable_cache, "Enable adapter's non-volatile write cache (default: 1)"); | 157 | 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_param_named(debug, ipr_debug, int, 0); |
158 | MODULE_PARM_DESC(debug, "Enable device driver debugging logging. Set to 1 to enable. (default: 0)"); | 159 | MODULE_PARM_DESC(debug, "Enable device driver debugging logging. Set to 1 to enable. (default: 0)"); |
160 | module_param_named(auto_create, ipr_auto_create, int, 0); | ||
161 | MODULE_PARM_DESC(auto_create, "Auto-create single device RAID 0 arrays when initialized (default: 1)"); | ||
159 | MODULE_LICENSE("GPL"); | 162 | MODULE_LICENSE("GPL"); |
160 | MODULE_VERSION(IPR_DRIVER_VERSION); | 163 | MODULE_VERSION(IPR_DRIVER_VERSION); |
161 | 164 | ||
@@ -5919,6 +5922,8 @@ static void __devinit ipr_init_ioa_cfg(struct ipr_ioa_cfg *ioa_cfg, | |||
5919 | ioa_cfg->pdev = pdev; | 5922 | ioa_cfg->pdev = pdev; |
5920 | ioa_cfg->log_level = ipr_log_level; | 5923 | ioa_cfg->log_level = ipr_log_level; |
5921 | ioa_cfg->doorbell = IPR_DOORBELL; | 5924 | ioa_cfg->doorbell = IPR_DOORBELL; |
5925 | if (!ipr_auto_create) | ||
5926 | ioa_cfg->doorbell |= IPR_RUNTIME_RESET; | ||
5922 | sprintf(ioa_cfg->eye_catcher, IPR_EYECATCHER); | 5927 | sprintf(ioa_cfg->eye_catcher, IPR_EYECATCHER); |
5923 | sprintf(ioa_cfg->trace_start, IPR_TRACE_START_LABEL); | 5928 | sprintf(ioa_cfg->trace_start, IPR_TRACE_START_LABEL); |
5924 | sprintf(ioa_cfg->ipr_free_label, IPR_FREEQ_LABEL); | 5929 | sprintf(ioa_cfg->ipr_free_label, IPR_FREEQ_LABEL); |