xref: /openbmc/linux/drivers/message/fusion/Kconfig (revision 232f08fc)
11da177e4SLinus Torvalds
21da177e4SLinus Torvaldsmenu "Fusion MPT device support"
3eeca7a36SMartin Schwidefsky	depends on PCI
41da177e4SLinus Torvalds
5b86fff73SJames Bottomley config FUSION
6b86fff73SJames Bottomley 	bool
7b86fff73SJames Bottomley 	default n
8b86fff73SJames Bottomley 
95f5affddSMoore, Eric Dean config FUSION_SPI
105f5affddSMoore, Eric Dean 	tristate "Fusion MPT ScsiHost drivers for SPI"
111da177e4SLinus Torvalds	depends on PCI && SCSI
12b86fff73SJames Bottomley 	select FUSION
13c92f222eSJames Bottomley	select SCSI_SPI_ATTRS
141da177e4SLinus Torvalds	---help---
155f5affddSMoore, Eric Dean 	  SCSI HOST support for a parallel SCSI host adapters.
161da177e4SLinus Torvalds
175f5affddSMoore, Eric Dean 	  List of supported controllers:
185f5affddSMoore, Eric Dean 
195f5affddSMoore, Eric Dean 	  LSI53C1020
205f5affddSMoore, Eric Dean 	  LSI53C1020A
215f5affddSMoore, Eric Dean 	  LSI53C1030
225f5affddSMoore, Eric Dean 	  LSI53C1035
23232f08fcSEric Moore	  ATTO UL4D
245f5affddSMoore, Eric Dean 
255f5affddSMoore, Eric Dean config FUSION_FC
265f5affddSMoore, Eric Dean 	tristate "Fusion MPT ScsiHost drivers for FC"
275f5affddSMoore, Eric Dean 	depends on PCI && SCSI
28b86fff73SJames Bottomley 	select FUSION
293759b788SJames Bottomley	select SCSI_FC_ATTRS
305f5affddSMoore, Eric Dean 	---help---
315f5affddSMoore, Eric Dean 	  SCSI HOST support for a Fiber Channel host adapters.
325f5affddSMoore, Eric Dean 
335f5affddSMoore, Eric Dean 	  List of supported controllers:
345f5affddSMoore, Eric Dean 
355f5affddSMoore, Eric Dean 	  LSIFC909
365f5affddSMoore, Eric Dean 	  LSIFC919
375f5affddSMoore, Eric Dean 	  LSIFC919X
385f5affddSMoore, Eric Dean 	  LSIFC929
395f5affddSMoore, Eric Dean 	  LSIFC929X
405f5affddSMoore, Eric Dean 	  LSIFC929XL
41fbc9a572SGwendal Grignou	  Brocade FC 410/420
421da177e4SLinus Torvalds
430c33b27dSChristoph Hellwigconfig FUSION_SAS
440c33b27dSChristoph Hellwig	tristate "Fusion MPT ScsiHost drivers for SAS"
450c33b27dSChristoph Hellwig	depends on PCI && SCSI
460c33b27dSChristoph Hellwig 	select FUSION
470c33b27dSChristoph Hellwig	select SCSI_SAS_ATTRS
480c33b27dSChristoph Hellwig	---help---
490c33b27dSChristoph Hellwig	  SCSI HOST support for a SAS host adapters.
500c33b27dSChristoph Hellwig
510c33b27dSChristoph Hellwig	  List of supported controllers:
520c33b27dSChristoph Hellwig
530c33b27dSChristoph Hellwig	  LSISAS1064
540c33b27dSChristoph Hellwig	  LSISAS1068
550c33b27dSChristoph Hellwig	  LSISAS1064E
560c33b27dSChristoph Hellwig	  LSISAS1068E
570c33b27dSChristoph Hellwig
581da177e4SLinus Torvaldsconfig FUSION_MAX_SGE
5951bbc9c3SMoore, Eric Dean 	int "Maximum number of scatter gather entries (16 - 128)"
6051bbc9c3SMoore, Eric Dean 	depends on FUSION
615f5affddSMoore, Eric Dean 	default "128"
6251bbc9c3SMoore, Eric Dean 	range 16 128
631da177e4SLinus Torvalds	help
641da177e4SLinus Torvalds	  This option allows you to specify the maximum number of scatter-
6551bbc9c3SMoore, Eric Dean 	  gather entries per I/O. The driver default is 128, which matches
6651bbc9c3SMoore, Eric Dean 	  SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16.
6751bbc9c3SMoore, Eric Dean 	  Decreasing this parameter will reduce memory requirements
6851bbc9c3SMoore, Eric Dean 	  on a per controller instance.
691da177e4SLinus Torvalds
701da177e4SLinus Torvaldsconfig FUSION_CTL
711da177e4SLinus Torvalds	tristate "Fusion MPT misc device (ioctl) driver"
72d780c3bfSDouglas Gilbert	depends on FUSION_SPI || FUSION_FC || FUSION_SAS
731da177e4SLinus Torvalds	---help---
741da177e4SLinus Torvalds	  The Fusion MPT misc device driver provides specialized control
751da177e4SLinus Torvalds	  of MPT adapters via system ioctl calls.  Use of ioctl calls to
761da177e4SLinus Torvalds	  the MPT driver requires that you create and use a misc device
771da177e4SLinus Torvalds	  node ala:
781da177e4SLinus Torvalds	  mknod /dev/mptctl c 10 240
791da177e4SLinus Torvalds
801da177e4SLinus Torvalds	  One use of this ioctl interface is to perform an upgrade (reflash)
811da177e4SLinus Torvalds	  of the MPT adapter firmware.  Refer to readme file(s) distributed
821da177e4SLinus Torvalds	  with the Fusion MPT linux driver for additional details.
831da177e4SLinus Torvalds
841da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptctl
851da177e4SLinus Torvalds	  will be compiled.
861da177e4SLinus Torvalds
871da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
881da177e4SLinus Torvalds
891da177e4SLinus Torvaldsconfig FUSION_LAN
901da177e4SLinus Torvalds	tristate "Fusion MPT LAN driver"
915f5affddSMoore, Eric Dean 	depends on FUSION_FC && NET_FC
921da177e4SLinus Torvalds	---help---
931da177e4SLinus Torvalds	  This module supports LAN IP traffic over Fibre Channel port(s)
941da177e4SLinus Torvalds	  on Fusion MPT compatible hardware (LSIFC9xx chips).
951da177e4SLinus Torvalds	  The physical interface used is defined in RFC 2625.
961da177e4SLinus Torvalds	  Please refer to that document for details.
971da177e4SLinus Torvalds
981da177e4SLinus Torvalds	  Installing this driver requires the knowledge to configure and
991da177e4SLinus Torvalds	  activate a new network interface, "fc0", using standard Linux tools.
1001da177e4SLinus Torvalds
1011da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptlan
1021da177e4SLinus Torvalds	  will be compiled.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
1051da177e4SLinus Torvalds
1065c1b91b9SPrakash, Sathyaconfig FUSION_LOGGING
1075c1b91b9SPrakash, Sathya	bool "Fusion MPT logging facility"
1085c1b91b9SPrakash, Sathya	depends on FUSION
1095c1b91b9SPrakash, Sathya	---help---
1105c1b91b9SPrakash, Sathya	  This turns on a logging facility that can be used to debug a number
1115c1b91b9SPrakash, Sathya	  of Fusion MPT related problems.
1125c1b91b9SPrakash, Sathya
1135c1b91b9SPrakash, Sathya	  The debug level can be programmed on the fly via SysFS (hex values)
1145c1b91b9SPrakash, Sathya
1155c1b91b9SPrakash, Sathya	  echo [level] > /sys/class/scsi_host/host#/debug_level
1165c1b91b9SPrakash, Sathya
1175c1b91b9SPrakash, Sathya	  There are various debug levels that an be found in the source:
1185c1b91b9SPrakash, Sathya	  file:drivers/message/fusion/mptdebug.h
1195c1b91b9SPrakash, Sathya
1201da177e4SLinus Torvaldsendmenu
121