162306a36Sopenharmony_ci# 262306a36Sopenharmony_ci# Kernel configuration file for the MPT3SAS 362306a36Sopenharmony_ci# 462306a36Sopenharmony_ci# This code is based on drivers/scsi/mpt3sas/Kconfig 562306a36Sopenharmony_ci# Copyright (C) 2012-2014 LSI Corporation 662306a36Sopenharmony_ci# (mailto:DL-MPTFusionLinux@lsi.com) 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci# This program is free software; you can redistribute it and/or 962306a36Sopenharmony_ci# modify it under the terms of the GNU General Public License 1062306a36Sopenharmony_ci# as published by the Free Software Foundation; either version 2 1162306a36Sopenharmony_ci# of the License, or (at your option) any later version. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci# This program is distributed in the hope that it will be useful, 1462306a36Sopenharmony_ci# but WITHOUT ANY WARRANTY; without even the implied warranty of 1562306a36Sopenharmony_ci# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1662306a36Sopenharmony_ci# GNU General Public License for more details. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci# NO WARRANTY 1962306a36Sopenharmony_ci# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR 2062306a36Sopenharmony_ci# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT 2162306a36Sopenharmony_ci# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 2262306a36Sopenharmony_ci# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is 2362306a36Sopenharmony_ci# solely responsible for determining the appropriateness of using and 2462306a36Sopenharmony_ci# distributing the Program and assumes all risks associated with its 2562306a36Sopenharmony_ci# exercise of rights under this Agreement, including but not limited to 2662306a36Sopenharmony_ci# the risks and costs of program errors, damage to or loss of data, 2762306a36Sopenharmony_ci# programs or equipment, and unavailability or interruption of operations. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci# DISCLAIMER OF LIABILITY 3062306a36Sopenharmony_ci# NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY 3162306a36Sopenharmony_ci# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3262306a36Sopenharmony_ci# DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND 3362306a36Sopenharmony_ci# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 3462306a36Sopenharmony_ci# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 3562306a36Sopenharmony_ci# USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED 3662306a36Sopenharmony_ci# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci# You should have received a copy of the GNU General Public License 3962306a36Sopenharmony_ci# along with this program; if not, write to the Free Software 4062306a36Sopenharmony_ci# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 4162306a36Sopenharmony_ci# USA. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ciconfig SCSI_MPT3SAS 4462306a36Sopenharmony_ci tristate "LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver" 4562306a36Sopenharmony_ci depends on PCI && SCSI 4662306a36Sopenharmony_ci select SCSI_SAS_ATTRS 4762306a36Sopenharmony_ci select RAID_ATTRS 4862306a36Sopenharmony_ci select IRQ_POLL 4962306a36Sopenharmony_ci help 5062306a36Sopenharmony_ci This driver supports PCI-Express SAS 12Gb/s Host Adapters. 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ciconfig SCSI_MPT2SAS_MAX_SGE 5362306a36Sopenharmony_ci int "LSI MPT Fusion SAS 2.0 Max number of SG Entries (16 - 256)" 5462306a36Sopenharmony_ci depends on PCI && SCSI && SCSI_MPT3SAS 5562306a36Sopenharmony_ci default "128" 5662306a36Sopenharmony_ci range 16 256 5762306a36Sopenharmony_ci help 5862306a36Sopenharmony_ci This option allows you to specify the maximum number of scatter- 5962306a36Sopenharmony_ci gather entries per I/O. The driver default is 128, which matches 6062306a36Sopenharmony_ci MAX_PHYS_SEGMENTS in most kernels. However in SuSE kernels this 6162306a36Sopenharmony_ci can be 256. However, it may decreased down to 16. Decreasing this 6262306a36Sopenharmony_ci parameter will reduce memory requirements on a per controller instance. 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_ciconfig SCSI_MPT3SAS_MAX_SGE 6562306a36Sopenharmony_ci int "LSI MPT Fusion SAS 3.0 Max number of SG Entries (16 - 256)" 6662306a36Sopenharmony_ci depends on PCI && SCSI && SCSI_MPT3SAS 6762306a36Sopenharmony_ci default "128" 6862306a36Sopenharmony_ci range 16 256 6962306a36Sopenharmony_ci help 7062306a36Sopenharmony_ci This option allows you to specify the maximum number of scatter- 7162306a36Sopenharmony_ci gather entries per I/O. The driver default is 128, which matches 7262306a36Sopenharmony_ci MAX_PHYS_SEGMENTS in most kernels. However in SuSE kernels this 7362306a36Sopenharmony_ci can be 256. However, it may decreased down to 16. Decreasing this 7462306a36Sopenharmony_ci parameter will reduce memory requirements on a per controller instance. 7562306a36Sopenharmony_ci 7662306a36Sopenharmony_ciconfig SCSI_MPT2SAS 7762306a36Sopenharmony_ci tristate "Legacy MPT2SAS config option" 7862306a36Sopenharmony_ci default n 7962306a36Sopenharmony_ci select SCSI_MPT3SAS 8062306a36Sopenharmony_ci depends on PCI && SCSI 8162306a36Sopenharmony_ci help 8262306a36Sopenharmony_ci Dummy config option for backwards compatibility: configure the MPT3SAS 8362306a36Sopenharmony_ci driver instead. 84