blob: 4c44d7bed01a6c44b23a7898be558ae75329b191 [file] [log] [blame]
Nicholas Bellingerc66ac9d2010-12-17 11:11:26 -08001
2menuconfig TARGET_CORE
3 tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
4 depends on SCSI && BLOCK
5 select CONFIGFS_FS
Nicholas Bellinger41861fa2014-01-07 22:44:57 +00006 select CRC_T10DIF
Christoph Hellwig72148ae2017-01-28 09:32:51 +01007 select BLK_SCSI_REQUEST # only for scsi_command_size_tbl..
Bart Van Assche14db4912018-01-05 08:26:50 -08008 select SGL_ALLOC
Nicholas Bellingerc66ac9d2010-12-17 11:11:26 -08009 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"
Nicholas Bellingerecebbf62013-12-23 20:31:24 +000019 select BLK_DEV_INTEGRITY
Nicholas Bellingerc66ac9d2010-12-17 11:11:26 -080020 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
Andy Grover68d4cef2015-04-14 17:30:05 -070036config TCM_USER2
Andy Grover7c9e7a62014-10-01 16:07:05 -070037 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
Andy Grover68d4cef2015-04-14 17:30:05 -070041 process to handle requests. This is version 2 of the ABI; version 1
42 is obsolete.
Andy Grover7c9e7a62014-10-01 16:07:05 -070043
Nicholas Bellinger3703b2c2011-03-18 15:39:17 -070044source "drivers/target/loopback/Kconfig"
Kiran Patil3699d922011-04-18 16:24:14 -070045source "drivers/target/tcm_fc/Kconfig"
Nicholas Bellingere48354c2011-07-23 06:43:04 +000046source "drivers/target/iscsi/Kconfig"
Chris Boota511ce32012-04-14 17:50:35 -070047source "drivers/target/sbp/Kconfig"
Nicholas Bellinger3703b2c2011-03-18 15:39:17 -070048
Nicholas Bellingerc66ac9d2010-12-17 11:11:26 -080049endif