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