Kconfig 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #
  2. # Kernel configuration file for the MPT3SAS
  3. #
  4. # This code is based on drivers/scsi/mpt3sas/Kconfig
  5. # Copyright (C) 2012-2014 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_MPT3SAS
  38. tristate "LSI MPT Fusion SAS 3.0 & 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 12Gb/s Host Adapters.
  44. config SCSI_MPT2SAS_MAX_SGE
  45. int "LSI MPT Fusion SAS 2.0 Max number of SG Entries (16 - 256)"
  46. depends on PCI && SCSI && SCSI_MPT3SAS
  47. default "128"
  48. range 16 256
  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. MAX_PHYS_SEGMENTS in most kernels. However in SuSE kernels this
  53. can be 256. However, it may decreased down to 16. Decreasing this
  54. parameter will reduce memory requirements on a per controller instance.
  55. config SCSI_MPT3SAS_MAX_SGE
  56. int "LSI MPT Fusion SAS 3.0 Max number of SG Entries (16 - 256)"
  57. depends on PCI && SCSI && SCSI_MPT3SAS
  58. default "128"
  59. range 16 256
  60. ---help---
  61. This option allows you to specify the maximum number of scatter-
  62. gather entries per I/O. The driver default is 128, which matches
  63. MAX_PHYS_SEGMENTS in most kernels. However in SuSE kernels this
  64. can be 256. However, it may decreased down to 16. Decreasing this
  65. parameter will reduce memory requirements on a per controller instance.
  66. config SCSI_MPT2SAS
  67. tristate "Legacy MPT2SAS config option"
  68. default n
  69. select SCSI_MPT3SAS
  70. depends on PCI && SCSI
  71. ---help---
  72. Dummy config option for backwards compatiblity: configure the MPT3SAS
  73. driver instead.