xref: /openbmc/linux/drivers/message/fusion/Kconfig (revision 1d9a3d06)
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
323759b788SJames Bottomley	select 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
44fbc9a572SGwendal Grignou	  Brocade FC 410/420
451da177e4SLinus Torvalds
460c33b27dSChristoph Hellwigconfig FUSION_SAS
470c33b27dSChristoph Hellwig	tristate "Fusion MPT ScsiHost drivers for SAS"
480c33b27dSChristoph Hellwig	depends on PCI && SCSI
490c33b27dSChristoph Hellwig	select SCSI_SAS_ATTRS
500c33b27dSChristoph Hellwig	---help---
510c33b27dSChristoph Hellwig	  SCSI HOST support for a SAS host adapters.
520c33b27dSChristoph Hellwig
530c33b27dSChristoph Hellwig	  List of supported controllers:
540c33b27dSChristoph Hellwig
550c33b27dSChristoph Hellwig	  LSISAS1064
560c33b27dSChristoph Hellwig	  LSISAS1068
570c33b27dSChristoph Hellwig	  LSISAS1064E
580c33b27dSChristoph Hellwig	  LSISAS1068E
590c33b27dSChristoph Hellwig
601da177e4SLinus Torvaldsconfig FUSION_MAX_SGE
6151bbc9c3SMoore, Eric Dean 	int "Maximum number of scatter gather entries (16 - 128)"
625f5affddSMoore, Eric Dean 	default "128"
6351bbc9c3SMoore, Eric Dean 	range 16 128
641da177e4SLinus Torvalds	help
651da177e4SLinus Torvalds	  This option allows you to specify the maximum number of scatter-
6651bbc9c3SMoore, Eric Dean 	  gather entries per I/O. The driver default is 128, which matches
6751bbc9c3SMoore, Eric Dean 	  SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16.
6851bbc9c3SMoore, Eric Dean 	  Decreasing this parameter will reduce memory requirements
6951bbc9c3SMoore, Eric Dean 	  on a per controller instance.
701da177e4SLinus Torvalds
711da177e4SLinus Torvaldsconfig FUSION_CTL
721da177e4SLinus Torvalds	tristate "Fusion MPT misc device (ioctl) driver"
73d780c3bfSDouglas Gilbert	depends on FUSION_SPI || FUSION_FC || FUSION_SAS
741da177e4SLinus Torvalds	---help---
751da177e4SLinus Torvalds	  The Fusion MPT misc device driver provides specialized control
761da177e4SLinus Torvalds	  of MPT adapters via system ioctl calls.  Use of ioctl calls to
771da177e4SLinus Torvalds	  the MPT driver requires that you create and use a misc device
781da177e4SLinus Torvalds	  node ala:
791da177e4SLinus Torvalds	  mknod /dev/mptctl c 10 240
801da177e4SLinus Torvalds
811da177e4SLinus Torvalds	  One use of this ioctl interface is to perform an upgrade (reflash)
821da177e4SLinus Torvalds	  of the MPT adapter firmware.  Refer to readme file(s) distributed
831da177e4SLinus Torvalds	  with the Fusion MPT linux driver for additional details.
841da177e4SLinus Torvalds
851da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptctl
861da177e4SLinus Torvalds	  will be compiled.
871da177e4SLinus Torvalds
881da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
891da177e4SLinus Torvalds
901da177e4SLinus Torvaldsconfig FUSION_LAN
911da177e4SLinus Torvalds	tristate "Fusion MPT LAN driver"
925f5affddSMoore, Eric Dean 	depends on FUSION_FC && NET_FC
931da177e4SLinus Torvalds	---help---
941da177e4SLinus Torvalds	  This module supports LAN IP traffic over Fibre Channel port(s)
951da177e4SLinus Torvalds	  on Fusion MPT compatible hardware (LSIFC9xx chips).
961da177e4SLinus Torvalds	  The physical interface used is defined in RFC 2625.
971da177e4SLinus Torvalds	  Please refer to that document for details.
981da177e4SLinus Torvalds
991da177e4SLinus Torvalds	  Installing this driver requires the knowledge to configure and
1001da177e4SLinus Torvalds	  activate a new network interface, "fc0", using standard Linux tools.
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvalds	  If enabled by saying M to this, a driver named: mptlan
1031da177e4SLinus Torvalds	  will be compiled.
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvalds	  If unsure whether you really want or need this, say N.
1061da177e4SLinus Torvalds
1075c1b91b9SPrakash, Sathyaconfig FUSION_LOGGING
1085c1b91b9SPrakash, Sathya	bool "Fusion MPT logging facility"
1095c1b91b9SPrakash, Sathya	depends on FUSION
1105c1b91b9SPrakash, Sathya	---help---
1115c1b91b9SPrakash, Sathya	  This turns on a logging facility that can be used to debug a number
1125c1b91b9SPrakash, Sathya	  of Fusion MPT related problems.
1135c1b91b9SPrakash, Sathya
1145c1b91b9SPrakash, Sathya	  The debug level can be programmed on the fly via SysFS (hex values)
1155c1b91b9SPrakash, Sathya
1165c1b91b9SPrakash, Sathya	  echo [level] > /sys/class/scsi_host/host#/debug_level
1175c1b91b9SPrakash, Sathya
1185c1b91b9SPrakash, Sathya	  There are various debug levels that an be found in the source:
1195c1b91b9SPrakash, Sathya	  file:drivers/message/fusion/mptdebug.h
1205c1b91b9SPrakash, Sathya
1211d9a3d06SJan Engelhardtendif # FUSION
122