xref: /openbmc/linux/drivers/target/Kconfig (revision 8c0b9ee8)
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	default n
8	help
9	Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled
10	control path for target_core_mod.  This includes built-in TCM RAMDISK
11	subsystem logic for virtual LUN 0 access
12
13if TARGET_CORE
14
15config TCM_IBLOCK
16	tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK"
17	select BLK_DEV_INTEGRITY
18	help
19	Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered
20	access to Linux/Block devices using BIO
21
22config TCM_FILEIO
23	tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS"
24	help
25	Say Y here to enable the TCM/FILEIO subsystem plugin for buffered
26	access to Linux/VFS struct file or struct block_device
27
28config TCM_PSCSI
29	tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
30	help
31	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
32	passthrough access to Linux/SCSI device
33
34config TCM_USER
35	tristate "TCM/USER Subsystem Plugin for Linux"
36	depends on UIO && NET
37	help
38	Say Y here to enable the TCM/USER subsystem plugin for a userspace
39	process to handle requests
40
41source "drivers/target/loopback/Kconfig"
42source "drivers/target/tcm_fc/Kconfig"
43source "drivers/target/iscsi/Kconfig"
44source "drivers/target/sbp/Kconfig"
45
46endif
47