diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-24 09:20:23 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-07-28 22:24:26 -0400 |
commit | 78011042684dfbb50f7060f4623793f7a5c74a01 (patch) | |
tree | 07d91ef3f7feec1ced179e4d5348ee14e7801c07 /block/Kconfig | |
parent | d52fe8f436a6d9850b5e528cb94a651563a77374 (diff) | |
download | linux-stable-78011042684dfbb50f7060f4623793f7a5c74a01.tar.gz linux-stable-78011042684dfbb50f7060f4623793f7a5c74a01.tar.bz2 linux-stable-78011042684dfbb50f7060f4623793f7a5c74a01.zip |
scsi: bsg: Move bsg_scsi_ops to drivers/scsi/
Move the SCSI-specific bsg code in the SCSI midlayer instead of in the
common bsg code. This just keeps the common bsg code block/ and also
allows building it as a module.
Link: https://lore.kernel.org/r/20210724072033.1284840-15-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block/Kconfig')
-rw-r--r-- | block/Kconfig | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/block/Kconfig b/block/Kconfig index fd732aede922..88aa88241795 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -35,29 +35,12 @@ config BLK_SCSI_REQUEST config BLK_CGROUP_RWSTAT bool -config BLK_DEV_BSG - bool "Block layer SG support v4" - default y - select BLK_SCSI_REQUEST - help - Saying Y here will enable generic SG (SCSI generic) v4 support - for any block device. - - Unlike SG v3 (aka block/scsi_ioctl.c drivers/scsi/sg.c), SG v4 - can handle complicated SCSI commands: tagged variable length cdbs - with bidirectional data transfers and generic request/response - protocols (e.g. Task Management Functions and SMP in Serial - Attached SCSI). - - This option is required by recent UDEV versions to properly - access device serial numbers, etc. - - If unsure, say Y. +config BLK_DEV_BSG_COMMON + tristate config BLK_DEV_BSGLIB bool "Block layer SG support v4 helper lib" - select BLK_DEV_BSG - select BLK_SCSI_REQUEST + select BLK_DEV_BSG_COMMON help Subsystems will normally enable this if needed. Users will not normally need to manually enable this. |