Kconfig 2.8 KB

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