aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-31 12:51:49 -0700
committerJens Axboe <axboe@kernel.dk>2018-08-02 15:19:49 -0600
commit8a39a0478355e9dfdd2f35038d07c4ebe3192441 (patch)
tree23afe10f92d79fee8ba467c8c16755a85bd559d5 /drivers/target/Kconfig
parentscsi: build scsi_common.o for all scsi passthrough request users (diff)
downloadlinux-dev-8a39a0478355e9dfdd2f35038d07c4ebe3192441.tar.xz
linux-dev-8a39a0478355e9dfdd2f35038d07c4ebe3192441.zip
target: don't depend on SCSI
The core target code only needs code from scsi_common.c, which is now separately selectable. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/target/Kconfig')
-rw-r--r--drivers/target/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/target/Kconfig b/drivers/target/Kconfig
index 4c44d7bed01a..cb6f32ce7de8 100644
--- a/drivers/target/Kconfig
+++ b/drivers/target/Kconfig
@@ -1,10 +1,10 @@
menuconfig TARGET_CORE
tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
- depends on SCSI && BLOCK
+ depends on BLOCK
select CONFIGFS_FS
select CRC_T10DIF
- select BLK_SCSI_REQUEST # only for scsi_command_size_tbl..
+ select BLK_SCSI_REQUEST
select SGL_ALLOC
default n
help
@@ -29,6 +29,7 @@ config TCM_FILEIO
config TCM_PSCSI
tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
+ depends on SCSI
help
Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
passthrough access to Linux/SCSI device