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