1*4882a593Smuzhiyun# 2*4882a593Smuzhiyun# Kernel configuration file for the MPT3SAS 3*4882a593Smuzhiyun# 4*4882a593Smuzhiyun# This code is based on drivers/scsi/mpt3sas/Kconfig 5*4882a593Smuzhiyun# Copyright (C) 2012-2014 LSI Corporation 6*4882a593Smuzhiyun# (mailto:DL-MPTFusionLinux@lsi.com) 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun# This program is free software; you can redistribute it and/or 9*4882a593Smuzhiyun# modify it under the terms of the GNU General Public License 10*4882a593Smuzhiyun# as published by the Free Software Foundation; either version 2 11*4882a593Smuzhiyun# of the License, or (at your option) any later version. 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun# This program is distributed in the hope that it will be useful, 14*4882a593Smuzhiyun# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*4882a593Smuzhiyun# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*4882a593Smuzhiyun# GNU General Public License for more details. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun# NO WARRANTY 19*4882a593Smuzhiyun# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR 20*4882a593Smuzhiyun# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT 21*4882a593Smuzhiyun# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 22*4882a593Smuzhiyun# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is 23*4882a593Smuzhiyun# solely responsible for determining the appropriateness of using and 24*4882a593Smuzhiyun# distributing the Program and assumes all risks associated with its 25*4882a593Smuzhiyun# exercise of rights under this Agreement, including but not limited to 26*4882a593Smuzhiyun# the risks and costs of program errors, damage to or loss of data, 27*4882a593Smuzhiyun# programs or equipment, and unavailability or interruption of operations. 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun# DISCLAIMER OF LIABILITY 30*4882a593Smuzhiyun# NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY 31*4882a593Smuzhiyun# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 32*4882a593Smuzhiyun# DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND 33*4882a593Smuzhiyun# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 34*4882a593Smuzhiyun# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 35*4882a593Smuzhiyun# USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED 36*4882a593Smuzhiyun# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun# You should have received a copy of the GNU General Public License 39*4882a593Smuzhiyun# along with this program; if not, write to the Free Software 40*4882a593Smuzhiyun# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 41*4882a593Smuzhiyun# USA. 42*4882a593Smuzhiyun 43*4882a593Smuzhiyunconfig SCSI_MPT3SAS 44*4882a593Smuzhiyun tristate "LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver" 45*4882a593Smuzhiyun depends on PCI && SCSI 46*4882a593Smuzhiyun select SCSI_SAS_ATTRS 47*4882a593Smuzhiyun select RAID_ATTRS 48*4882a593Smuzhiyun select IRQ_POLL 49*4882a593Smuzhiyun help 50*4882a593Smuzhiyun This driver supports PCI-Express SAS 12Gb/s Host Adapters. 51*4882a593Smuzhiyun 52*4882a593Smuzhiyunconfig SCSI_MPT2SAS_MAX_SGE 53*4882a593Smuzhiyun int "LSI MPT Fusion SAS 2.0 Max number of SG Entries (16 - 256)" 54*4882a593Smuzhiyun depends on PCI && SCSI && SCSI_MPT3SAS 55*4882a593Smuzhiyun default "128" 56*4882a593Smuzhiyun range 16 256 57*4882a593Smuzhiyun help 58*4882a593Smuzhiyun This option allows you to specify the maximum number of scatter- 59*4882a593Smuzhiyun gather entries per I/O. The driver default is 128, which matches 60*4882a593Smuzhiyun MAX_PHYS_SEGMENTS in most kernels. However in SuSE kernels this 61*4882a593Smuzhiyun can be 256. However, it may decreased down to 16. Decreasing this 62*4882a593Smuzhiyun parameter will reduce memory requirements on a per controller instance. 63*4882a593Smuzhiyun 64*4882a593Smuzhiyunconfig SCSI_MPT3SAS_MAX_SGE 65*4882a593Smuzhiyun int "LSI MPT Fusion SAS 3.0 Max number of SG Entries (16 - 256)" 66*4882a593Smuzhiyun depends on PCI && SCSI && SCSI_MPT3SAS 67*4882a593Smuzhiyun default "128" 68*4882a593Smuzhiyun range 16 256 69*4882a593Smuzhiyun help 70*4882a593Smuzhiyun This option allows you to specify the maximum number of scatter- 71*4882a593Smuzhiyun gather entries per I/O. The driver default is 128, which matches 72*4882a593Smuzhiyun MAX_PHYS_SEGMENTS in most kernels. However in SuSE kernels this 73*4882a593Smuzhiyun can be 256. However, it may decreased down to 16. Decreasing this 74*4882a593Smuzhiyun parameter will reduce memory requirements on a per controller instance. 75*4882a593Smuzhiyun 76*4882a593Smuzhiyunconfig SCSI_MPT2SAS 77*4882a593Smuzhiyun tristate "Legacy MPT2SAS config option" 78*4882a593Smuzhiyun default n 79*4882a593Smuzhiyun select SCSI_MPT3SAS 80*4882a593Smuzhiyun depends on PCI && SCSI 81*4882a593Smuzhiyun help 82*4882a593Smuzhiyun Dummy config option for backwards compatiblity: configure the MPT3SAS 83*4882a593Smuzhiyun driver instead. 84