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) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) menuconfig FUSION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 	bool "Fusion MPT device support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 	depends on PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 	Say Y here to get to see options for Fusion Message
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 	Passing Technology (MPT) drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 	This option alone does not add any kernel code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 	If you say N, all options in this submenu will be skipped and disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) if FUSION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) config FUSION_SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 	tristate "Fusion MPT ScsiHost drivers for SPI"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 	depends on PCI && SCSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	select SCSI_SPI_ATTRS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	  SCSI HOST support for a parallel SCSI host adapters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 	  List of supported controllers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 	  LSI53C1020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 	  LSI53C1020A
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 	  LSI53C1030
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	  LSI53C1035
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	  ATTO UL4D
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) config FUSION_FC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	tristate "Fusion MPT ScsiHost drivers for FC"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 	depends on PCI && SCSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	depends on SCSI_FC_ATTRS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) 	  SCSI HOST support for a Fiber Channel host adapters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 	  List of supported controllers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	  LSIFC909
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 	  LSIFC919
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 	  LSIFC919X
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	  LSIFC929
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 	  LSIFC929X
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	  LSIFC929XL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	  LSIFC949X
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	  LSIFC949E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	  Brocade FC 410/420
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) config FUSION_SAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 	tristate "Fusion MPT ScsiHost drivers for SAS"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 	depends on PCI && SCSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 	select SCSI_SAS_ATTRS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	  SCSI HOST support for a SAS host adapters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	  List of supported controllers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	  LSISAS1064
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	  LSISAS1068
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	  LSISAS1064E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 	  LSISAS1068E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 	  LSISAS1078
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) config FUSION_MAX_SGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 	int "Maximum number of scatter gather entries (16 - 128)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 	default "128"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	range 16 128
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	  This option allows you to specify the maximum number of scatter-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	  gather entries per I/O. The driver default is 128, which matches
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 	  SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 	  Decreasing this parameter will reduce memory requirements
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	  on a per controller instance.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) config FUSION_CTL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 	tristate "Fusion MPT misc device (ioctl) driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	depends on FUSION_SPI || FUSION_FC || FUSION_SAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	  The Fusion MPT misc device driver provides specialized control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 	  of MPT adapters via system ioctl calls.  Use of ioctl calls to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 	  the MPT driver requires that you create and use a misc device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	  node ala:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	  mknod /dev/mptctl c 10 240
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	  One use of this ioctl interface is to perform an upgrade (reflash)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 	  of the MPT adapter firmware.  Refer to readme file(s) distributed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 	  with the Fusion MPT linux driver for additional details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 	  If enabled by saying M to this, a driver named: mptctl
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 	  will be compiled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	  If unsure whether you really want or need this, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) config FUSION_LAN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	tristate "Fusion MPT LAN driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	depends on FUSION_FC && NET_FC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 	  This module supports LAN IP traffic over Fibre Channel port(s)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	  on Fusion MPT compatible hardware (LSIFC9xx chips).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	  The physical interface used is defined in RFC 2625.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	  Please refer to that document for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 	  Installing this driver requires the knowledge to configure and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	  activate a new network interface, "fc0", using standard Linux tools.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	  If enabled by saying M to this, a driver named: mptlan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 	  will be compiled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 	  If unsure whether you really want or need this, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) config FUSION_LOGGING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	bool "Fusion MPT logging facility"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 	  This turns on a logging facility that can be used to debug a number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	  of Fusion MPT related problems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 	  The debug level can be programmed on the fly via SysFS (hex values)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 	  echo [level] > /sys/class/scsi_host/host#/debug_level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 	  There are various debug levels that can be found in the source:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 	  file:drivers/message/fusion/mptdebug.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) endif # FUSION