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