diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2007-03-29 13:42:47 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-04-01 12:15:45 -0400 |
commit | 7d2267bb9d94aabfa316a13d04b0bce2fb51ff83 (patch) | |
tree | 8957695d6b62650d29801f4be746a6db3ee0fb49 /drivers/scsi/ipr.c | |
parent | 5469cb5bdef76dbe18865fff30975f0694fff2c2 (diff) |
[SCSI] ipr: Remove auto RAID create module parameter
Remove the auto RAID 0 array creation module parameter, since
support for this function has been removed from the firmware.
Signed-off-by: Brian King <brking@linux.vnet.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 | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index ba17ac501278..6bd64d4edcdc 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -92,7 +92,6 @@ static unsigned int ipr_fastfail = 0; | |||
92 | static unsigned int ipr_transop_timeout = 0; | 92 | static unsigned int ipr_transop_timeout = 0; |
93 | static unsigned int ipr_enable_cache = 1; | 93 | static unsigned int ipr_enable_cache = 1; |
94 | static unsigned int ipr_debug = 0; | 94 | static unsigned int ipr_debug = 0; |
95 | static int ipr_auto_create = 1; | ||
96 | static DEFINE_SPINLOCK(ipr_driver_lock); | 95 | static DEFINE_SPINLOCK(ipr_driver_lock); |
97 | 96 | ||
98 | /* This table describes the differences between DMA controller chips */ | 97 | /* This table describes the differences between DMA controller chips */ |
@@ -159,8 +158,6 @@ module_param_named(enable_cache, ipr_enable_cache, int, 0); | |||
159 | MODULE_PARM_DESC(enable_cache, "Enable adapter's non-volatile write cache (default: 1)"); | 158 | MODULE_PARM_DESC(enable_cache, "Enable adapter's non-volatile write cache (default: 1)"); |
160 | module_param_named(debug, ipr_debug, int, 0); | 159 | module_param_named(debug, ipr_debug, int, 0); |
161 | MODULE_PARM_DESC(debug, "Enable device driver debugging logging. Set to 1 to enable. (default: 0)"); | 160 | MODULE_PARM_DESC(debug, "Enable device driver debugging logging. Set to 1 to enable. (default: 0)"); |
162 | module_param_named(auto_create, ipr_auto_create, int, 0); | ||
163 | MODULE_PARM_DESC(auto_create, "Auto-create single device RAID 0 arrays when initialized (default: 1)"); | ||
164 | MODULE_LICENSE("GPL"); | 161 | MODULE_LICENSE("GPL"); |
165 | MODULE_VERSION(IPR_DRIVER_VERSION); | 162 | MODULE_VERSION(IPR_DRIVER_VERSION); |
166 | 163 | ||
@@ -7116,8 +7113,6 @@ static void __devinit ipr_init_ioa_cfg(struct ipr_ioa_cfg *ioa_cfg, | |||
7116 | ioa_cfg->pdev = pdev; | 7113 | ioa_cfg->pdev = pdev; |
7117 | ioa_cfg->log_level = ipr_log_level; | 7114 | ioa_cfg->log_level = ipr_log_level; |
7118 | ioa_cfg->doorbell = IPR_DOORBELL; | 7115 | ioa_cfg->doorbell = IPR_DOORBELL; |
7119 | if (!ipr_auto_create) | ||
7120 | ioa_cfg->doorbell |= IPR_RUNTIME_RESET; | ||
7121 | sprintf(ioa_cfg->eye_catcher, IPR_EYECATCHER); | 7116 | sprintf(ioa_cfg->eye_catcher, IPR_EYECATCHER); |
7122 | sprintf(ioa_cfg->trace_start, IPR_TRACE_START_LABEL); | 7117 | sprintf(ioa_cfg->trace_start, IPR_TRACE_START_LABEL); |
7123 | sprintf(ioa_cfg->ipr_free_label, IPR_FREEQ_LABEL); | 7118 | sprintf(ioa_cfg->ipr_free_label, IPR_FREEQ_LABEL); |