Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Nicholas Bellinger | c66ac9d | 2010-12-17 11:11:26 -0800 | [diff] [blame] | 2 | |
| 3 | menuconfig TARGET_CORE |
| 4 | tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure" |
Christoph Hellwig | 8a39a04 | 2018-07-31 12:51:49 -0700 | [diff] [blame] | 5 | depends on BLOCK |
Nicholas Bellinger | c66ac9d | 2010-12-17 11:11:26 -0800 | [diff] [blame] | 6 | select CONFIGFS_FS |
Nicholas Bellinger | 41861fa | 2014-01-07 22:44:57 +0000 | [diff] [blame] | 7 | select CRC_T10DIF |
Christoph Hellwig | 8a39a04 | 2018-07-31 12:51:49 -0700 | [diff] [blame] | 8 | select BLK_SCSI_REQUEST |
Bart Van Assche | 14db491 | 2018-01-05 08:26:50 -0800 | [diff] [blame] | 9 | select SGL_ALLOC |
Nicholas Bellinger | c66ac9d | 2010-12-17 11:11:26 -0800 | [diff] [blame] | 10 | default n |
| 11 | help |
| 12 | Say Y or M here to enable the TCM Storage Engine and ConfigFS enabled |
| 13 | control path for target_core_mod. This includes built-in TCM RAMDISK |
| 14 | subsystem logic for virtual LUN 0 access |
| 15 | |
| 16 | if TARGET_CORE |
| 17 | |
| 18 | config TCM_IBLOCK |
| 19 | tristate "TCM/IBLOCK Subsystem Plugin for Linux/BLOCK" |
Nicholas Bellinger | ecebbf6 | 2013-12-23 20:31:24 +0000 | [diff] [blame] | 20 | select BLK_DEV_INTEGRITY |
Nicholas Bellinger | c66ac9d | 2010-12-17 11:11:26 -0800 | [diff] [blame] | 21 | help |
| 22 | Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered |
| 23 | access to Linux/Block devices using BIO |
| 24 | |
| 25 | config TCM_FILEIO |
| 26 | tristate "TCM/FILEIO Subsystem Plugin for Linux/VFS" |
| 27 | help |
| 28 | Say Y here to enable the TCM/FILEIO subsystem plugin for buffered |
| 29 | access to Linux/VFS struct file or struct block_device |
| 30 | |
| 31 | config TCM_PSCSI |
| 32 | tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI" |
Christoph Hellwig | 8a39a04 | 2018-07-31 12:51:49 -0700 | [diff] [blame] | 33 | depends on SCSI |
Nicholas Bellinger | c66ac9d | 2010-12-17 11:11:26 -0800 | [diff] [blame] | 34 | help |
| 35 | Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered |
| 36 | passthrough access to Linux/SCSI device |
| 37 | |
Andy Grover | 68d4cef | 2015-04-14 17:30:05 -0700 | [diff] [blame] | 38 | config TCM_USER2 |
Andy Grover | 7c9e7a6 | 2014-10-01 16:07:05 -0700 | [diff] [blame] | 39 | tristate "TCM/USER Subsystem Plugin for Linux" |
| 40 | depends on UIO && NET |
| 41 | help |
| 42 | Say Y here to enable the TCM/USER subsystem plugin for a userspace |
Andy Grover | 68d4cef | 2015-04-14 17:30:05 -0700 | [diff] [blame] | 43 | process to handle requests. This is version 2 of the ABI; version 1 |
| 44 | is obsolete. |
Andy Grover | 7c9e7a6 | 2014-10-01 16:07:05 -0700 | [diff] [blame] | 45 | |
Nicholas Bellinger | 3703b2c | 2011-03-18 15:39:17 -0700 | [diff] [blame] | 46 | source "drivers/target/loopback/Kconfig" |
Kiran Patil | 3699d92 | 2011-04-18 16:24:14 -0700 | [diff] [blame] | 47 | source "drivers/target/tcm_fc/Kconfig" |
Nicholas Bellinger | e48354c | 2011-07-23 06:43:04 +0000 | [diff] [blame] | 48 | source "drivers/target/iscsi/Kconfig" |
Chris Boot | a511ce3 | 2012-04-14 17:50:35 -0700 | [diff] [blame] | 49 | source "drivers/target/sbp/Kconfig" |
Nicholas Bellinger | 3703b2c | 2011-03-18 15:39:17 -0700 | [diff] [blame] | 50 | |
Nicholas Bellinger | c66ac9d | 2010-12-17 11:11:26 -0800 | [diff] [blame] | 51 | endif |