xref: /openbmc/linux/drivers/message/fusion/Kconfig (revision 6a38792c)
11da177e4SLinus Torvalds
21d9a3d06SJan Engelhardtmenuconfig FUSION
31d9a3d06SJan Engelhardt	bool "Fusion MPT device support"
4eeca7a36SMartin Schwidefsky	depends on PCI
51d9a3d06SJan Engelhardt	---help---
61d9a3d06SJan Engelhardt	Say Y here to get to see options for Fusion Message
71d9a3d06SJan Engelhardt	Passing Technology (MPT) drivers.
81d9a3d06SJan Engelhardt	This option alone does not add any kernel code.
91da177e4SLinus Torvalds
101d9a3d06SJan Engelhardt	If you say N, all options in this submenu will be skipped and disabled.
111d9a3d06SJan Engelhardt
121d9a3d06SJan Engelhardtif FUSION
13b86fff73SJames Bottomley 
145f5affddSMoore, Eric Dean config FUSION_SPI
155f5affddSMoore, Eric Dean 	tristate "Fusion MPT ScsiHost drivers for SPI"
161da177e4SLinus Torvalds	depends on PCI && SCSI
17c92f222eSJames Bottomley	select SCSI_SPI_ATTRS
181da177e4SLinus Torvalds	---help---
195f5affddSMoore, Eric Dean 	  SCSI HOST support for a parallel SCSI host adapters.
201da177e4SLinus Torvalds
215f5affddSMoore, Eric Dean 	  List of supported controllers:
225f5affddSMoore, Eric Dean 
235f5affddSMoore, Eric Dean 	  LSI53C1020
245f5affddSMoore, Eric Dean 	  LSI53C1020A
255f5affddSMoore, Eric Dean 	  LSI53C1030
265f5affddSMoore, Eric Dean 	  LSI53C1035
27232f08fcSEric Moore	  ATTO UL4D
285f5affddSMoore, Eric Dean 
295f5affddSMoore, Eric Dean config FUSION_FC
305f5affddSMoore, Eric Dean 	tristate "Fusion MPT ScsiHost drivers for FC"
315f5affddSMoore, Eric Dean 	depends on PCI && SCSI
326a38792cSRandy Dunlap	depends on SCSI_FC_ATTRS
335f5affddSMoore, Eric Dean 	---help---
345f5affddSMoore, Eric Dean 	  SCSI HOST support for a Fiber Channel host adapters.
355f5affddSMoore, Eric Dean 
365f5affddSMoore, Eric Dean 	  List of supported controllers:
375f5affddSMoore, Eric Dean 
385f5affddSMoore, Eric Dean 	  LSIFC909
395f5affddSMoore, Eric Dean 	  LSIFC919
405f5affddSMoore, Eric Dean 	  LSIFC919X
415f5affddSMoore, Eric Dean 	  LSIFC929
425f5affddSMoore, Eric Dean 	  LSIFC929X
435f5affddSMoore, Eric Dean 	  LSIFC929XL
44448f09e6SEric Moore	  LSIFC949X
45448f09e6SEric Moore	  LSIFC949E
46fbc9a572SGwendal Grignou	  Brocade FC 410/420
471da177e4SLinus Torvalds
480c33b27dSChristoph Hellwigconfig FUSION_SAS
490c33b27dSChristoph Hellwig	tristate "Fusion MPT ScsiHost drivers for SAS"
500c33b27dSChristoph Hellwig	depends on PCI && SCSI
510c33b27dSChristoph Hellwig	select SCSI_SAS_ATTRS
520c33b27dSChristoph Hellwig	---help---
530c33b27dSChristoph Hellwig	  SCSI HOST support for a SAS host adapters.
540c33b27dSChristoph Hellwig
550c33b27dSChristoph Hellwig	  List of supported controllers:
560c33b27dSChristoph Hellwig
570c33b27dSChristoph Hellwig	  LSISAS1064
580c33b27dSChristoph Hellwig	  LSISAS1068
590c33b27dSChristoph Hellwig	  LSISAS1064E
600c33b27dSChristoph Hellwig	  LSISAS1068E
61448f09e6SEric Moore	  LSISAS1078
620c33b27dSChristoph Hellwig
631da177e4SLinus Torvaldsconfig FUSION_MAX_SGE
6451bbc9c3SMoore, Eric Dean 	int "Maximum number of scatter gather entries (16 - 128)"
655f5affddSMoore, Eric Dean 	default "128"
6651bbc9c3SMoore, Eric Dean 	range 16 128
671da177e4SLinus Torvalds	help
681da177e4SLinus Torvalds	  This option allows you to specify the maximum number of scatter-
6951bbc9c3SMoore, Eric Dean 	  gather entries per I/O. The driver default is 128, which matches
7051bbc9c3SMoore, Eric Dean 	  SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16.
7151bbc9c3SMoore, Eric Dean 	  Decreasing this parameter will reduce memory requirements
7251bbc9c3SMoore, Eric Dean 	  on a per controller instance.
731da177e4SLinus Torvalds
741da177e4SLinus Torvaldsconfig FUSION_CTL
751da177e4SLinus Torvalds	tristate "Fusion MPT misc device (ioctl) driver"
76d780c3bfSDouglas Gilbert	depends on FUSION_SPI || FUSION_FC || FUSION_SAS
771da177e4SLinus Torvalds	---help---
781da177e4SLinus Torvalds	  The Fusion MPT misc device driver provides specialized control
791da177e4SLinus Torvalds	  of MPT adapters via system ioctl calls.  Use of ioctl calls to
801da177e4SLinus Torvalds	  the MPT driver requires that you create and use a misc device
811da177e4SLinus Torvalds	  node ala:
821da177e4SLinus Torvalds	  mknod /dev/mptctl c 10 240
831da177e4SLinus Torvalds
841da177e4SLinus Torvalds	  One use of this ioctl interface is to perform an upgrade (reflash)
851da177e4SLinus Torvalds	  of the MPT adapter firmware.  Refer to readme file(s) distributed
861da177e4SLinus Torvalds	  with the Fusion MPT linux driver for additional details.
871da177e4SLinus Torvalds
881da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptctl
891da177e4SLinus Torvalds	  will be compiled.
901da177e4SLinus Torvalds
911da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
921da177e4SLinus Torvalds
931da177e4SLinus Torvaldsconfig FUSION_LAN
941da177e4SLinus Torvalds	tristate "Fusion MPT LAN driver"
955f5affddSMoore, Eric Dean 	depends on FUSION_FC && NET_FC
961da177e4SLinus Torvalds	---help---
971da177e4SLinus Torvalds	  This module supports LAN IP traffic over Fibre Channel port(s)
981da177e4SLinus Torvalds	  on Fusion MPT compatible hardware (LSIFC9xx chips).
991da177e4SLinus Torvalds	  The physical interface used is defined in RFC 2625.
1001da177e4SLinus Torvalds	  Please refer to that document for details.
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvalds	  Installing this driver requires the knowledge to configure and
1031da177e4SLinus Torvalds	  activate a new network interface, "fc0", using standard Linux tools.
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptlan
1061da177e4SLinus Torvalds	  will be compiled.
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
1091da177e4SLinus Torvalds
1105c1b91b9SPrakash, Sathyaconfig FUSION_LOGGING
1115c1b91b9SPrakash, Sathya	bool "Fusion MPT logging facility"
1125c1b91b9SPrakash, Sathya	---help---
1135c1b91b9SPrakash, Sathya	  This turns on a logging facility that can be used to debug a number
1145c1b91b9SPrakash, Sathya	  of Fusion MPT related problems.
1155c1b91b9SPrakash, Sathya
1165c1b91b9SPrakash, Sathya	  The debug level can be programmed on the fly via SysFS (hex values)
1175c1b91b9SPrakash, Sathya
1185c1b91b9SPrakash, Sathya	  echo [level] > /sys/class/scsi_host/host#/debug_level
1195c1b91b9SPrakash, Sathya
120448f09e6SEric Moore	  There are various debug levels that can be found in the source:
1215c1b91b9SPrakash, Sathya	  file:drivers/message/fusion/mptdebug.h
1225c1b91b9SPrakash, Sathya
1231d9a3d06SJan Engelhardtendif # FUSION
124