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