Commit 0866200e authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Christoph Hellwig

nvme: Have NVME_FABRICS select NVME_CORE instead of transport drivers

Transport drivers need both core and fabrics modules, instead of
selecting both, have the selection transitive such that NVME_FABRICS
selects NVME_CORE and transport drivers select NVME_FABRICS.
Suggested-by: default avatarKeith Busch <kbusch@kernel.org>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: default avatarJames Smart <jsmart2021@gmail.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent e19e9f47
...@@ -33,12 +33,12 @@ config NVME_HWMON ...@@ -33,12 +33,12 @@ config NVME_HWMON
in the system. in the system.
config NVME_FABRICS config NVME_FABRICS
select NVME_CORE
tristate tristate
config NVME_RDMA config NVME_RDMA
tristate "NVM Express over Fabrics RDMA host driver" tristate "NVM Express over Fabrics RDMA host driver"
depends on INFINIBAND && INFINIBAND_ADDR_TRANS && BLOCK depends on INFINIBAND && INFINIBAND_ADDR_TRANS && BLOCK
select NVME_CORE
select NVME_FABRICS select NVME_FABRICS
select SG_POOL select SG_POOL
help help
...@@ -55,7 +55,6 @@ config NVME_FC ...@@ -55,7 +55,6 @@ config NVME_FC
tristate "NVM Express over Fabrics FC host driver" tristate "NVM Express over Fabrics FC host driver"
depends on BLOCK depends on BLOCK
depends on HAS_DMA depends on HAS_DMA
select NVME_CORE
select NVME_FABRICS select NVME_FABRICS
select SG_POOL select SG_POOL
help help
...@@ -72,7 +71,6 @@ config NVME_TCP ...@@ -72,7 +71,6 @@ config NVME_TCP
tristate "NVM Express over Fabrics TCP host driver" tristate "NVM Express over Fabrics TCP host driver"
depends on INET depends on INET
depends on BLOCK depends on BLOCK
select NVME_CORE
select NVME_FABRICS select NVME_FABRICS
select CRYPTO select CRYPTO
select CRYPTO_CRC32C select CRYPTO_CRC32C
......
...@@ -31,7 +31,6 @@ config NVME_TARGET_PASSTHRU ...@@ -31,7 +31,6 @@ config NVME_TARGET_PASSTHRU
config NVME_TARGET_LOOP config NVME_TARGET_LOOP
tristate "NVMe loopback device support" tristate "NVMe loopback device support"
depends on NVME_TARGET depends on NVME_TARGET
select NVME_CORE
select NVME_FABRICS select NVME_FABRICS
select SG_POOL select SG_POOL
help help
...@@ -65,7 +64,6 @@ config NVME_TARGET_FC ...@@ -65,7 +64,6 @@ config NVME_TARGET_FC
config NVME_TARGET_FCLOOP config NVME_TARGET_FCLOOP
tristate "NVMe over Fabrics FC Transport Loopback Test driver" tristate "NVMe over Fabrics FC Transport Loopback Test driver"
depends on NVME_TARGET depends on NVME_TARGET
select NVME_CORE
select NVME_FABRICS select NVME_FABRICS
select SG_POOL select SG_POOL
depends on NVME_FC depends on NVME_FC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment