config TARGET_CORE
        tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
	select CONFIGFS_FS
	select SYNO_LIO
        default m
        ---help---
        Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled control path for target_core_mod

config SYNO_LIO
	bool

config TCM_IBLOCK
	tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK"
	depends on TARGET_CORE
	default y
	---help---
	Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered access to Linux/Block devices using BIO in TCM

config TCM_PSCSI
	tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
	depends on TARGET_CORE
	default y
	---help---
	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered passthrough access to Linux/SCSI devices in TCM

config TCM_PSCSI_VPD_PAGE_CHECK
	tristate "TCM/pSCSI EVPD Page Emulation for Linux/SCSI"
	depends on TARGET_CORE && TCM_PSCSI
	default y
	---help---
	Say Y here to enable the TCM/pSCSI EVPD emulation that is required to register emulated SCSI LUNs on some non Linux OSes when using the Linux/SCSI passthrough for certain devices.

config TCM_FILEIO
	tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS"
	depends on TARGET_CORE
	default y
	---help---
	Say Y here to enable the TCM/FILEIO subsystem plugin for buffered access to Linux/VFS files or block devices in TCM

config TCM_RAMDISK
	tristate "TCM/RAMDISK Subsystem Plugin"
	depends on TARGET_CORE
	default y
	---help---
	Say Y here to enable the TCM/RAMDISK subsystem plugins for internal struct page ramdisk device access for performance testing and debugging

config TCM_STGT
	tristate "TCM/STGT Subsystem Plugin"
	depends on TARGET_CORE && EXPERIMENTAL
	select SCSI_TGT
	default n
	---help---
	Say Y here to enable the WIP TCM/STGT subsystem plugin for accessing STGT device in TCM

config TCM_SNMP
	tristate "TCM SCSI MIBs"
	depends on TARGET_CORE && PROC_FS
	default y
	---help---
	Say Y here to enable the SCSI MIBs via procfs for TCM

config TCM_DEBUG_DEV
	tristate "TCM Debug device code"
	depends on TARGET_CORE
	default n
	---help---
	Say Y here to enable the TCM Debug device code

config TCM_LOOP_FABRIC
        tristate "TCM Virtual SAS target and Linux/SCSI LDD fabric loopback module "
        depends on TARGET_CORE && CONFIGFS_FS
        default n
        ---help---
        Say Y here to enable the TCM Virtual SAS target and Linux/SCSI LDD fabric loopback module

config TCM_LOOP_CDB_DEBUG
	tristate "TCM loopback fabric module CDB debug code"
	depends on TARGET_CORE && CONFIGFS_FS && TCM_LOOP_FABRIC
	default n
	---help---
	Say Y here to enable the TCM loopback fabric module CDB debug code

source "drivers/target/lio-target/Kconfig"
