Back to home page

OSCL-LXR

 
 

    


0001 #
0002 # Kernel configuration file for the MPT3SAS
0003 #
0004 # This code is based on drivers/scsi/mpt3sas/Kconfig
0005 # Copyright (C) 2012-2014  LSI Corporation
0006 #  (mailto:DL-MPTFusionLinux@lsi.com)
0007 
0008 # This program is free software; you can redistribute it and/or
0009 # modify it under the terms of the GNU General Public License
0010 # as published by the Free Software Foundation; either version 2
0011 # of the License, or (at your option) any later version.
0012 
0013 # This program is distributed in the hope that it will be useful,
0014 # but WITHOUT ANY WARRANTY; without even the implied warranty of
0015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0016 # GNU General Public License for more details.
0017 
0018 # NO WARRANTY
0019 # THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
0020 # CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
0021 # LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
0022 # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
0023 # solely responsible for determining the appropriateness of using and
0024 # distributing the Program and assumes all risks associated with its
0025 # exercise of rights under this Agreement, including but not limited to
0026 # the risks and costs of program errors, damage to or loss of data,
0027 # programs or equipment, and unavailability or interruption of operations.
0028 
0029 # DISCLAIMER OF LIABILITY
0030 # NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
0031 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
0032 # DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
0033 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
0034 # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
0035 # USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
0036 # HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
0037 
0038 # You should have received a copy of the GNU General Public License
0039 # along with this program; if not, write to the Free Software
0040 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
0041 # USA.
0042 
0043 config SCSI_MPT3SAS
0044         tristate "LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver"
0045         depends on PCI && SCSI
0046         select SCSI_SAS_ATTRS
0047         select RAID_ATTRS
0048         select IRQ_POLL
0049         help
0050         This driver supports PCI-Express SAS 12Gb/s Host Adapters.
0051 
0052 config SCSI_MPT2SAS_MAX_SGE
0053         int "LSI MPT Fusion SAS 2.0 Max number of SG Entries (16 - 256)"
0054         depends on PCI && SCSI && SCSI_MPT3SAS
0055         default "128"
0056         range 16 256
0057         help
0058         This option allows you to specify the maximum number of scatter-
0059         gather entries per I/O. The driver default is 128, which matches
0060         MAX_PHYS_SEGMENTS in most kernels.  However in SuSE kernels this
0061         can be 256. However, it may decreased down to 16.  Decreasing this
0062         parameter will reduce memory requirements on a per controller instance.
0063 
0064 config SCSI_MPT3SAS_MAX_SGE
0065         int "LSI MPT Fusion SAS 3.0 Max number of SG Entries (16 - 256)"
0066         depends on PCI && SCSI && SCSI_MPT3SAS
0067         default "128"
0068         range 16 256
0069         help
0070         This option allows you to specify the maximum number of scatter-
0071         gather entries per I/O. The driver default is 128, which matches
0072         MAX_PHYS_SEGMENTS in most kernels.  However in SuSE kernels this
0073         can be 256. However, it may decreased down to 16.  Decreasing this
0074         parameter will reduce memory requirements on a per controller instance.
0075 
0076 config SCSI_MPT2SAS
0077         tristate "Legacy MPT2SAS config option"
0078         default n
0079         select SCSI_MPT3SAS
0080         depends on PCI && SCSI
0081         help
0082         Dummy config option for backwards compatibility: configure the MPT3SAS
0083         driver instead.