xref: /openbmc/linux/drivers/message/fusion/Kconfig (revision a7f7f624)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds
31d9a3d06SJan Engelhardtmenuconfig FUSION
41d9a3d06SJan Engelhardt	bool "Fusion MPT device support"
5eeca7a36SMartin Schwidefsky	depends on PCI
6a7f7f624SMasahiro Yamada	help
71d9a3d06SJan Engelhardt	Say Y here to get to see options for Fusion Message
81d9a3d06SJan Engelhardt	Passing Technology (MPT) drivers.
91d9a3d06SJan Engelhardt	This option alone does not add any kernel code.
101da177e4SLinus Torvalds
111d9a3d06SJan Engelhardt	If you say N, all options in this submenu will be skipped and disabled.
121d9a3d06SJan Engelhardt
131d9a3d06SJan Engelhardtif FUSION
14b86fff73SJames Bottomley 
155f5affddSMoore, Eric Dean config FUSION_SPI
165f5affddSMoore, Eric Dean 	tristate "Fusion MPT ScsiHost drivers for SPI"
171da177e4SLinus Torvalds	depends on PCI && SCSI
18c92f222eSJames Bottomley	select SCSI_SPI_ATTRS
19a7f7f624SMasahiro Yamada	help
205f5affddSMoore, Eric Dean 	  SCSI HOST support for a parallel SCSI host adapters.
211da177e4SLinus Torvalds
225f5affddSMoore, Eric Dean 	  List of supported controllers:
235f5affddSMoore, Eric Dean 
245f5affddSMoore, Eric Dean 	  LSI53C1020
255f5affddSMoore, Eric Dean 	  LSI53C1020A
265f5affddSMoore, Eric Dean 	  LSI53C1030
275f5affddSMoore, Eric Dean 	  LSI53C1035
28232f08fcSEric Moore	  ATTO UL4D
295f5affddSMoore, Eric Dean 
305f5affddSMoore, Eric Dean config FUSION_FC
315f5affddSMoore, Eric Dean 	tristate "Fusion MPT ScsiHost drivers for FC"
325f5affddSMoore, Eric Dean 	depends on PCI && SCSI
336a38792cSRandy Dunlap	depends on SCSI_FC_ATTRS
34a7f7f624SMasahiro Yamada	help
355f5affddSMoore, Eric Dean 	  SCSI HOST support for a Fiber Channel host adapters.
365f5affddSMoore, Eric Dean 
375f5affddSMoore, Eric Dean 	  List of supported controllers:
385f5affddSMoore, Eric Dean 
395f5affddSMoore, Eric Dean 	  LSIFC909
405f5affddSMoore, Eric Dean 	  LSIFC919
415f5affddSMoore, Eric Dean 	  LSIFC919X
425f5affddSMoore, Eric Dean 	  LSIFC929
435f5affddSMoore, Eric Dean 	  LSIFC929X
445f5affddSMoore, Eric Dean 	  LSIFC929XL
45448f09e6SEric Moore	  LSIFC949X
46448f09e6SEric Moore	  LSIFC949E
47fbc9a572SGwendal Grignou	  Brocade FC 410/420
481da177e4SLinus Torvalds
490c33b27dSChristoph Hellwigconfig FUSION_SAS
500c33b27dSChristoph Hellwig	tristate "Fusion MPT ScsiHost drivers for SAS"
510c33b27dSChristoph Hellwig	depends on PCI && SCSI
520c33b27dSChristoph Hellwig	select SCSI_SAS_ATTRS
53a7f7f624SMasahiro Yamada	help
540c33b27dSChristoph Hellwig	  SCSI HOST support for a SAS host adapters.
550c33b27dSChristoph Hellwig
560c33b27dSChristoph Hellwig	  List of supported controllers:
570c33b27dSChristoph Hellwig
580c33b27dSChristoph Hellwig	  LSISAS1064
590c33b27dSChristoph Hellwig	  LSISAS1068
600c33b27dSChristoph Hellwig	  LSISAS1064E
610c33b27dSChristoph Hellwig	  LSISAS1068E
62448f09e6SEric Moore	  LSISAS1078
630c33b27dSChristoph Hellwig
641da177e4SLinus Torvaldsconfig FUSION_MAX_SGE
6551bbc9c3SMoore, Eric Dean 	int "Maximum number of scatter gather entries (16 - 128)"
665f5affddSMoore, Eric Dean 	default "128"
6751bbc9c3SMoore, Eric Dean 	range 16 128
681da177e4SLinus Torvalds	help
691da177e4SLinus Torvalds	  This option allows you to specify the maximum number of scatter-
7051bbc9c3SMoore, Eric Dean 	  gather entries per I/O. The driver default is 128, which matches
7151bbc9c3SMoore, Eric Dean 	  SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16.
7251bbc9c3SMoore, Eric Dean 	  Decreasing this parameter will reduce memory requirements
7351bbc9c3SMoore, Eric Dean 	  on a per controller instance.
741da177e4SLinus Torvalds
751da177e4SLinus Torvaldsconfig FUSION_CTL
761da177e4SLinus Torvalds	tristate "Fusion MPT misc device (ioctl) driver"
77d780c3bfSDouglas Gilbert	depends on FUSION_SPI || FUSION_FC || FUSION_SAS
78a7f7f624SMasahiro Yamada	help
791da177e4SLinus Torvalds	  The Fusion MPT misc device driver provides specialized control
801da177e4SLinus Torvalds	  of MPT adapters via system ioctl calls.  Use of ioctl calls to
811da177e4SLinus Torvalds	  the MPT driver requires that you create and use a misc device
821da177e4SLinus Torvalds	  node ala:
831da177e4SLinus Torvalds	  mknod /dev/mptctl c 10 240
841da177e4SLinus Torvalds
851da177e4SLinus Torvalds	  One use of this ioctl interface is to perform an upgrade (reflash)
861da177e4SLinus Torvalds	  of the MPT adapter firmware.  Refer to readme file(s) distributed
871da177e4SLinus Torvalds	  with the Fusion MPT linux driver for additional details.
881da177e4SLinus Torvalds
891da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptctl
901da177e4SLinus Torvalds	  will be compiled.
911da177e4SLinus Torvalds
921da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
931da177e4SLinus Torvalds
941da177e4SLinus Torvaldsconfig FUSION_LAN
951da177e4SLinus Torvalds	tristate "Fusion MPT LAN driver"
965f5affddSMoore, Eric Dean 	depends on FUSION_FC && NET_FC
97a7f7f624SMasahiro Yamada	help
981da177e4SLinus Torvalds	  This module supports LAN IP traffic over Fibre Channel port(s)
991da177e4SLinus Torvalds	  on Fusion MPT compatible hardware (LSIFC9xx chips).
1001da177e4SLinus Torvalds	  The physical interface used is defined in RFC 2625.
1011da177e4SLinus Torvalds	  Please refer to that document for details.
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvalds	  Installing this driver requires the knowledge to configure and
1041da177e4SLinus Torvalds	  activate a new network interface, "fc0", using standard Linux tools.
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptlan
1071da177e4SLinus Torvalds	  will be compiled.
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
1101da177e4SLinus Torvalds
1115c1b91b9SPrakash, Sathyaconfig FUSION_LOGGING
1125c1b91b9SPrakash, Sathya	bool "Fusion MPT logging facility"
113a7f7f624SMasahiro Yamada	help
1145c1b91b9SPrakash, Sathya	  This turns on a logging facility that can be used to debug a number
1155c1b91b9SPrakash, Sathya	  of Fusion MPT related problems.
1165c1b91b9SPrakash, Sathya
1175c1b91b9SPrakash, Sathya	  The debug level can be programmed on the fly via SysFS (hex values)
1185c1b91b9SPrakash, Sathya
1195c1b91b9SPrakash, Sathya	  echo [level] > /sys/class/scsi_host/host#/debug_level
1205c1b91b9SPrakash, Sathya
121448f09e6SEric Moore	  There are various debug levels that can be found in the source:
1225c1b91b9SPrakash, Sathya	  file:drivers/message/fusion/mptdebug.h
1235c1b91b9SPrakash, Sathya
1241d9a3d06SJan Engelhardtendif # FUSION
125