xref: /openbmc/linux/drivers/message/fusion/Kconfig (revision 5c1b91b9)
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
235f5affddSMoore, Eric Dean 
245f5affddSMoore, Eric Dean config FUSION_FC
255f5affddSMoore, Eric Dean 	tristate "Fusion MPT ScsiHost drivers for FC"
265f5affddSMoore, Eric Dean 	depends on PCI && SCSI
27b86fff73SJames Bottomley 	select FUSION
283759b788SJames Bottomley	select SCSI_FC_ATTRS
295f5affddSMoore, Eric Dean 	---help---
305f5affddSMoore, Eric Dean 	  SCSI HOST support for a Fiber Channel host adapters.
315f5affddSMoore, Eric Dean 
325f5affddSMoore, Eric Dean 	  List of supported controllers:
335f5affddSMoore, Eric Dean 
345f5affddSMoore, Eric Dean 	  LSIFC909
355f5affddSMoore, Eric Dean 	  LSIFC919
365f5affddSMoore, Eric Dean 	  LSIFC919X
375f5affddSMoore, Eric Dean 	  LSIFC929
385f5affddSMoore, Eric Dean 	  LSIFC929X
395f5affddSMoore, Eric Dean 	  LSIFC929XL
40fbc9a572SGwendal Grignou	  Brocade FC 410/420
411da177e4SLinus Torvalds
420c33b27dSChristoph Hellwigconfig FUSION_SAS
430c33b27dSChristoph Hellwig	tristate "Fusion MPT ScsiHost drivers for SAS"
440c33b27dSChristoph Hellwig	depends on PCI && SCSI
450c33b27dSChristoph Hellwig 	select FUSION
460c33b27dSChristoph Hellwig	select SCSI_SAS_ATTRS
470c33b27dSChristoph Hellwig	---help---
480c33b27dSChristoph Hellwig	  SCSI HOST support for a SAS host adapters.
490c33b27dSChristoph Hellwig
500c33b27dSChristoph Hellwig	  List of supported controllers:
510c33b27dSChristoph Hellwig
520c33b27dSChristoph Hellwig	  LSISAS1064
530c33b27dSChristoph Hellwig	  LSISAS1068
540c33b27dSChristoph Hellwig	  LSISAS1064E
550c33b27dSChristoph Hellwig	  LSISAS1068E
560c33b27dSChristoph Hellwig
571da177e4SLinus Torvaldsconfig FUSION_MAX_SGE
5851bbc9c3SMoore, Eric Dean 	int "Maximum number of scatter gather entries (16 - 128)"
5951bbc9c3SMoore, Eric Dean 	depends on FUSION
605f5affddSMoore, Eric Dean 	default "128"
6151bbc9c3SMoore, Eric Dean 	range 16 128
621da177e4SLinus Torvalds	help
631da177e4SLinus Torvalds	  This option allows you to specify the maximum number of scatter-
6451bbc9c3SMoore, Eric Dean 	  gather entries per I/O. The driver default is 128, which matches
6551bbc9c3SMoore, Eric Dean 	  SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16.
6651bbc9c3SMoore, Eric Dean 	  Decreasing this parameter will reduce memory requirements
6751bbc9c3SMoore, Eric Dean 	  on a per controller instance.
681da177e4SLinus Torvalds
691da177e4SLinus Torvaldsconfig FUSION_CTL
701da177e4SLinus Torvalds	tristate "Fusion MPT misc device (ioctl) driver"
71d780c3bfSDouglas Gilbert	depends on FUSION_SPI || FUSION_FC || FUSION_SAS
721da177e4SLinus Torvalds	---help---
731da177e4SLinus Torvalds	  The Fusion MPT misc device driver provides specialized control
741da177e4SLinus Torvalds	  of MPT adapters via system ioctl calls.  Use of ioctl calls to
751da177e4SLinus Torvalds	  the MPT driver requires that you create and use a misc device
761da177e4SLinus Torvalds	  node ala:
771da177e4SLinus Torvalds	  mknod /dev/mptctl c 10 240
781da177e4SLinus Torvalds
791da177e4SLinus Torvalds	  One use of this ioctl interface is to perform an upgrade (reflash)
801da177e4SLinus Torvalds	  of the MPT adapter firmware.  Refer to readme file(s) distributed
811da177e4SLinus Torvalds	  with the Fusion MPT linux driver for additional details.
821da177e4SLinus Torvalds
831da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptctl
841da177e4SLinus Torvalds	  will be compiled.
851da177e4SLinus Torvalds
861da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
871da177e4SLinus Torvalds
881da177e4SLinus Torvaldsconfig FUSION_LAN
891da177e4SLinus Torvalds	tristate "Fusion MPT LAN driver"
905f5affddSMoore, Eric Dean 	depends on FUSION_FC && NET_FC
911da177e4SLinus Torvalds	---help---
921da177e4SLinus Torvalds	  This module supports LAN IP traffic over Fibre Channel port(s)
931da177e4SLinus Torvalds	  on Fusion MPT compatible hardware (LSIFC9xx chips).
941da177e4SLinus Torvalds	  The physical interface used is defined in RFC 2625.
951da177e4SLinus Torvalds	  Please refer to that document for details.
961da177e4SLinus Torvalds
971da177e4SLinus Torvalds	  Installing this driver requires the knowledge to configure and
981da177e4SLinus Torvalds	  activate a new network interface, "fc0", using standard Linux tools.
991da177e4SLinus Torvalds
1001da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptlan
1011da177e4SLinus Torvalds	  will be compiled.
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
1041da177e4SLinus Torvalds
1055c1b91b9SPrakash, Sathyaconfig FUSION_LOGGING
1065c1b91b9SPrakash, Sathya	bool "Fusion MPT logging facility"
1075c1b91b9SPrakash, Sathya	depends on FUSION
1085c1b91b9SPrakash, Sathya	---help---
1095c1b91b9SPrakash, Sathya	  This turns on a logging facility that can be used to debug a number
1105c1b91b9SPrakash, Sathya	  of Fusion MPT related problems.
1115c1b91b9SPrakash, Sathya
1125c1b91b9SPrakash, Sathya	  The debug level can be programmed on the fly via SysFS (hex values)
1135c1b91b9SPrakash, Sathya
1145c1b91b9SPrakash, Sathya	  echo [level] > /sys/class/scsi_host/host#/debug_level
1155c1b91b9SPrakash, Sathya
1165c1b91b9SPrakash, Sathya	  There are various debug levels that an be found in the source:
1175c1b91b9SPrakash, Sathya	  file:drivers/message/fusion/mptdebug.h
1185c1b91b9SPrakash, Sathya
1191da177e4SLinus Torvaldsendmenu
120