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