1# SPDX-License-Identifier: GPL-2.0-only
2config SCSI_QLA_FC
3	tristate "QLogic QLA2XXX Fibre Channel Support"
4	depends on PCI && SCSI
5	depends on SCSI_FC_ATTRS
6	depends on NVME_FC || !NVME_FC
7	select FW_LOADER
8	select BTREE
9	help
10	This qla2xxx driver supports all QLogic Fibre Channel
11	PCI and PCIe host adapters.
12
13	By default, firmware for the ISP parts will be loaded
14	via the Firmware Loader interface.
15
16	ISP               Firmware Filename
17	----------        -----------------
18	21xx              ql2100_fw.bin
19	22xx              ql2200_fw.bin
20	2300, 2312, 6312  ql2300_fw.bin
21	2322, 6322        ql2322_fw.bin
22	24xx, 54xx        ql2400_fw.bin
23	25xx              ql2500_fw.bin
24
25	Upon request, the driver caches the firmware image until
26	the driver is unloaded.
27
28	Firmware images can be retrieved from:
29
30		http://ldriver.qlogic.com/firmware/
31
32	They are also included in the linux-firmware tree as well.
33
34config TCM_QLA2XXX
35	tristate "TCM_QLA2XXX fabric module for QLogic 24xx+ series target mode HBAs"
36	depends on SCSI_QLA_FC && TARGET_CORE
37	depends on LIBFC
38	select BTREE
39	default n
40	help
41	Say Y here to enable the TCM_QLA2XXX fabric module for QLogic 24xx+ series target mode HBAs
42
43if TCM_QLA2XXX
44config TCM_QLA2XXX_DEBUG
45	bool "TCM_QLA2XXX fabric module DEBUG mode for QLogic 24xx+ series target mode HBAs"
46	default n
47	help
48	Say Y here to enable the TCM_QLA2XXX fabric module DEBUG for QLogic 24xx+ series target mode HBAs
49	This will include code to enable the SCSI command jammer
50endif
51