18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_cimenuconfig TARGET_CORE
48c2ecf20Sopenharmony_ci	tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
58c2ecf20Sopenharmony_ci	depends on BLOCK
68c2ecf20Sopenharmony_ci	select CONFIGFS_FS
78c2ecf20Sopenharmony_ci	select CRC_T10DIF
88c2ecf20Sopenharmony_ci	select BLK_SCSI_REQUEST
98c2ecf20Sopenharmony_ci	select SGL_ALLOC
108c2ecf20Sopenharmony_ci	default n
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled
138c2ecf20Sopenharmony_ci	control path for target_core_mod.  This includes built-in TCM RAMDISK
148c2ecf20Sopenharmony_ci	subsystem logic for virtual LUN 0 access
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciif TARGET_CORE
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig TCM_IBLOCK
198c2ecf20Sopenharmony_ci	tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK"
208c2ecf20Sopenharmony_ci	select BLK_DEV_INTEGRITY
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered
238c2ecf20Sopenharmony_ci	access to Linux/Block devices using BIO
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig TCM_FILEIO
268c2ecf20Sopenharmony_ci	tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS"
278c2ecf20Sopenharmony_ci	help
288c2ecf20Sopenharmony_ci	Say Y here to enable the TCM/FILEIO subsystem plugin for buffered
298c2ecf20Sopenharmony_ci	access to Linux/VFS struct file or struct block_device
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciconfig TCM_PSCSI
328c2ecf20Sopenharmony_ci	tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
338c2ecf20Sopenharmony_ci	depends on SCSI
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
368c2ecf20Sopenharmony_ci	passthrough access to Linux/SCSI device
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciconfig TCM_USER2
398c2ecf20Sopenharmony_ci	tristate "TCM/USER Subsystem Plugin for Linux"
408c2ecf20Sopenharmony_ci	depends on UIO && NET
418c2ecf20Sopenharmony_ci	help
428c2ecf20Sopenharmony_ci	Say Y here to enable the TCM/USER subsystem plugin for a userspace
438c2ecf20Sopenharmony_ci	process to handle requests. This is version 2 of the ABI; version 1
448c2ecf20Sopenharmony_ci	is obsolete.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_cisource "drivers/target/loopback/Kconfig"
478c2ecf20Sopenharmony_cisource "drivers/target/tcm_fc/Kconfig"
488c2ecf20Sopenharmony_cisource "drivers/target/iscsi/Kconfig"
498c2ecf20Sopenharmony_cisource "drivers/target/sbp/Kconfig"
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciendif
52