Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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