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