xref: /openbmc/linux/drivers/target/Kconfig (revision ba61bb17)
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	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	help
33	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
34	passthrough access to Linux/SCSI device
35
36config TCM_USER2
37	tristate "TCM/USER Subsystem Plugin for Linux"
38	depends on UIO && NET
39	help
40	Say Y here to enable the TCM/USER subsystem plugin for a userspace
41	process to handle requests. This is version 2 of the ABI; version 1
42	is obsolete.
43
44source "drivers/target/loopback/Kconfig"
45source "drivers/target/tcm_fc/Kconfig"
46source "drivers/target/iscsi/Kconfig"
47source "drivers/target/sbp/Kconfig"
48
49endif
50