xref: /openbmc/linux/drivers/target/Kconfig (revision 14db4917)
1c66ac9dbSNicholas Bellinger
2c66ac9dbSNicholas Bellingermenuconfig TARGET_CORE
3c66ac9dbSNicholas Bellinger	tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
4c66ac9dbSNicholas Bellinger	depends on SCSI && BLOCK
5c66ac9dbSNicholas Bellinger	select CONFIGFS_FS
641861fa8SNicholas Bellinger	select CRC_T10DIF
772148aecSChristoph Hellwig	select BLK_SCSI_REQUEST # only for scsi_command_size_tbl..
814db4917SBart Van Assche	select SGL_ALLOC
9c66ac9dbSNicholas Bellinger	default n
10c66ac9dbSNicholas Bellinger	help
11c66ac9dbSNicholas Bellinger	Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled
12c66ac9dbSNicholas Bellinger	control path for target_core_mod.  This includes built-in TCM RAMDISK
13c66ac9dbSNicholas Bellinger	subsystem logic for virtual LUN 0 access
14c66ac9dbSNicholas Bellinger
15c66ac9dbSNicholas Bellingerif TARGET_CORE
16c66ac9dbSNicholas Bellinger
17c66ac9dbSNicholas Bellingerconfig TCM_IBLOCK
18c66ac9dbSNicholas Bellinger	tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK"
19ecebbf6cSNicholas Bellinger	select BLK_DEV_INTEGRITY
20c66ac9dbSNicholas Bellinger	help
21c66ac9dbSNicholas Bellinger	Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered
22c66ac9dbSNicholas Bellinger	access to Linux/Block devices using BIO
23c66ac9dbSNicholas Bellinger
24c66ac9dbSNicholas Bellingerconfig TCM_FILEIO
25c66ac9dbSNicholas Bellinger	tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS"
26c66ac9dbSNicholas Bellinger	help
27c66ac9dbSNicholas Bellinger	Say Y here to enable the TCM/FILEIO subsystem plugin for buffered
28c66ac9dbSNicholas Bellinger	access to Linux/VFS struct file or struct block_device
29c66ac9dbSNicholas Bellinger
30c66ac9dbSNicholas Bellingerconfig TCM_PSCSI
31c66ac9dbSNicholas Bellinger	tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
32c66ac9dbSNicholas Bellinger	help
33c66ac9dbSNicholas Bellinger	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
34c66ac9dbSNicholas Bellinger	passthrough access to Linux/SCSI device
35c66ac9dbSNicholas Bellinger
3668d4cef3SAndy Groverconfig TCM_USER2
377c9e7a6fSAndy Grover	tristate "TCM/USER Subsystem Plugin for Linux"
387c9e7a6fSAndy Grover	depends on UIO && NET
397c9e7a6fSAndy Grover	help
407c9e7a6fSAndy Grover	Say Y here to enable the TCM/USER subsystem plugin for a userspace
4168d4cef3SAndy Grover	process to handle requests. This is version 2 of the ABI; version 1
4268d4cef3SAndy Grover	is obsolete.
437c9e7a6fSAndy Grover
443703b2c5SNicholas Bellingersource "drivers/target/loopback/Kconfig"
453699d92aSKiran Patilsource "drivers/target/tcm_fc/Kconfig"
46e48354ceSNicholas Bellingersource "drivers/target/iscsi/Kconfig"
47a511ce33SChris Bootsource "drivers/target/sbp/Kconfig"
483703b2c5SNicholas Bellinger
49c66ac9dbSNicholas Bellingerendif
50