xref: /openbmc/linux/drivers/target/Kconfig (revision bb0eb050)
1
2menuconfig TARGET_CORE
3	tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
4	depends on SCSI && BLOCK
5	select CONFIGFS_FS
6	select CRC_T10DIF
7	select BLK_SCSI_REQUEST # only for scsi_command_size_tbl..
8	default n
9	help
10	Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled
11	control path for target_core_mod.  This includes built-in TCM RAMDISK
12	subsystem logic for virtual LUN 0 access
13
14if TARGET_CORE
15
16config TCM_IBLOCK
17	tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK"
18	select BLK_DEV_INTEGRITY
19	help
20	Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered
21	access to Linux/Block devices using BIO
22
23config TCM_FILEIO
24	tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS"
25	help
26	Say Y here to enable the TCM/FILEIO subsystem plugin for buffered
27	access to Linux/VFS struct file or struct block_device
28
29config TCM_PSCSI
30	tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
31	help
32	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
33	passthrough access to Linux/SCSI device
34
35config TCM_USER2
36	tristate "TCM/USER Subsystem Plugin for Linux"
37	depends on UIO && NET
38	help
39	Say Y here to enable the TCM/USER subsystem plugin for a userspace
40	process to handle requests. This is version 2 of the ABI; version 1
41	is obsolete.
42
43source "drivers/target/loopback/Kconfig"
44source "drivers/target/tcm_fc/Kconfig"
45source "drivers/target/iscsi/Kconfig"
46source "drivers/target/sbp/Kconfig"
47
48endif
49