Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Jens Axboe
8a39a047 ad80f970

+3 -2
+3 -2
drivers/target/Kconfig
··· 1 1 2 2 menuconfig TARGET_CORE 3 3 tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure" 4 - depends on SCSI && BLOCK 4 + depends on BLOCK 5 5 select CONFIGFS_FS 6 6 select CRC_T10DIF 7 - select BLK_SCSI_REQUEST # only for scsi_command_size_tbl.. 7 + select BLK_SCSI_REQUEST 8 8 select SGL_ALLOC 9 9 default n 10 10 help ··· 29 29 30 30 config TCM_PSCSI 31 31 tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI" 32 + depends on SCSI 32 33 help 33 34 Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered 34 35 passthrough access to Linux/SCSI device