Skip to content

Commit 8a39a04

Browse files
Christoph Hellwigaxboe
authored andcommitted
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 <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent ad80f97 commit 8a39a04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/target/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

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

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

0 commit comments

Comments
 (0)