Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a39a047 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ad80f970
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line


menuconfig TARGET_CORE
menuconfig TARGET_CORE
	tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
	tristate "Generic Target Core Mod (TCM) and ConfigFS Infrastructure"
	depends on SCSI && BLOCK
	depends on BLOCK
	select CONFIGFS_FS
	select CONFIGFS_FS
	select CRC_T10DIF
	select CRC_T10DIF
	select BLK_SCSI_REQUEST # only for scsi_command_size_tbl..
	select BLK_SCSI_REQUEST
	select SGL_ALLOC
	select SGL_ALLOC
	default n
	default n
	help
	help
@@ -29,6 +29,7 @@ config TCM_FILEIO


config TCM_PSCSI
config TCM_PSCSI
	tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
	tristate "TCM/pSCSI Subsystem Plugin for Linux/SCSI"
	depends on SCSI
	help
	help
	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
	Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
	passthrough access to Linux/SCSI device
	passthrough access to Linux/SCSI device