xref: /openbmc/linux/drivers/message/fusion/Kconfig (revision 2a598d0b)
1# SPDX-License-Identifier: GPL-2.0-only
2
3menuconfig FUSION
4	bool "Fusion MPT device support"
5	depends on PCI && HAS_IOPORT
6	help
7	Say Y here to get to see options for Fusion Message
8	Passing Technology (MPT) drivers.
9	This option alone does not add any kernel code.
10
11	If you say N, all options in this submenu will be skipped and disabled.
12
13if FUSION
14
15config FUSION_SPI
16	tristate "Fusion MPT ScsiHost drivers for SPI"
17	depends on PCI && SCSI
18	select SCSI_SPI_ATTRS
19	help
20	  SCSI HOST support for a parallel SCSI host adapters.
21
22	  List of supported controllers:
23
24	  LSI53C1020
25	  LSI53C1020A
26	  LSI53C1030
27	  LSI53C1035
28	  ATTO UL4D
29
30config FUSION_FC
31	tristate "Fusion MPT ScsiHost drivers for FC"
32	depends on PCI && SCSI
33	depends on SCSI_FC_ATTRS
34	help
35	  SCSI HOST support for a Fiber Channel host adapters.
36
37	  List of supported controllers:
38
39	  LSIFC909
40	  LSIFC919
41	  LSIFC919X
42	  LSIFC929
43	  LSIFC929X
44	  LSIFC929XL
45	  LSIFC949X
46	  LSIFC949E
47	  Brocade FC 410/420
48
49config FUSION_SAS
50	tristate "Fusion MPT ScsiHost drivers for SAS"
51	depends on PCI && SCSI
52	select SCSI_SAS_ATTRS
53	help
54	  SCSI HOST support for a SAS host adapters.
55
56	  List of supported controllers:
57
58	  LSISAS1064
59	  LSISAS1068
60	  LSISAS1064E
61	  LSISAS1068E
62	  LSISAS1078
63
64config FUSION_MAX_SGE
65	int "Maximum number of scatter gather entries (16 - 128)"
66	default "128"
67	range 16 128
68	help
69	  This option allows you to specify the maximum number of scatter-
70	  gather entries per I/O. The driver default is 128, which matches
71	  SCSI_MAX_PHYS_SEGMENTS. However, it may decreased down to 16.
72	  Decreasing this parameter will reduce memory requirements
73	  on a per controller instance.
74
75config FUSION_CTL
76	tristate "Fusion MPT misc device (ioctl) driver"
77	depends on FUSION_SPI || FUSION_FC || FUSION_SAS
78	help
79	  The Fusion MPT misc device driver provides specialized control
80	  of MPT adapters via system ioctl calls.  Use of ioctl calls to
81	  the MPT driver requires that you create and use a misc device
82	  node ala:
83	  mknod /dev/mptctl c 10 240
84
85	  One use of this ioctl interface is to perform an upgrade (reflash)
86	  of the MPT adapter firmware.  Refer to readme file(s) distributed
87	  with the Fusion MPT linux driver for additional details.
88
89	  If enabled by saying M to this, a driver named: mptctl
90	  will be compiled.
91
92	  If unsure whether you really want or need this, say N.
93
94config FUSION_LAN
95	tristate "Fusion MPT LAN driver"
96	depends on FUSION_FC && NET_FC
97	help
98	  This module supports LAN IP traffic over Fibre Channel port(s)
99	  on Fusion MPT compatible hardware (LSIFC9xx chips).
100	  The physical interface used is defined in RFC 2625.
101	  Please refer to that document for details.
102
103	  Installing this driver requires the knowledge to configure and
104	  activate a new network interface, "fc0", using standard Linux tools.
105
106	  If enabled by saying M to this, a driver named: mptlan
107	  will be compiled.
108
109	  If unsure whether you really want or need this, say N.
110
111config FUSION_LOGGING
112	bool "Fusion MPT logging facility"
113	help
114	  This turns on a logging facility that can be used to debug a number
115	  of Fusion MPT related problems.
116
117	  The debug level can be programmed on the fly via SysFS (hex values)
118
119	  echo [level] > /sys/class/scsi_host/host#/debug_level
120
121	  There are various debug levels that can be found in the source:
122	  file:drivers/message/fusion/mptdebug.h
123
124endif # FUSION
125