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