linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvme-fabrics: Add HAS_DMA to FC Transport Kconfigs
@ 2016-10-24 15:50 James Smart
  2016-10-26 20:01 ` J Freyensee
  0 siblings, 1 reply; 2+ messages in thread
From: James Smart @ 2016-10-24 15:50 UTC (permalink / raw)



Add HAS_DMA to FC Transport host and target Kconfig

Obviously dependent on prior patches to add FC transport

Signed-off-by: James Smart <james.smart at broadcom.com>
---
 drivers/nvme/host/Kconfig   | 1 +
 drivers/nvme/target/Kconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig
index aacac94..90745a6 100644
--- a/drivers/nvme/host/Kconfig
+++ b/drivers/nvme/host/Kconfig
@@ -47,6 +47,7 @@ config NVME_RDMA
 config NVME_FC
 	tristate "NVM Express over Fabrics FC host driver"
 	depends on BLOCK
+	depends on HAS_DMA
 	select NVME_CORE
 	select NVME_FABRICS
 	select SG_POOL
diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig
index 0d88c23..d55576f 100644
--- a/drivers/nvme/target/Kconfig
+++ b/drivers/nvme/target/Kconfig
@@ -38,6 +38,7 @@ config NVME_TARGET_RDMA
 config NVME_TARGET_FC
 	tristate "NVMe over Fabrics FC target driver"
 	depends on NVME_TARGET
+	depends on HAS_DMA
 	help
 	  This enables the NVMe FC target support, which allows exporting NVMe
 	  devices over FC.
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] nvme-fabrics: Add HAS_DMA to FC Transport Kconfigs
  2016-10-24 15:50 [PATCH] nvme-fabrics: Add HAS_DMA to FC Transport Kconfigs James Smart
@ 2016-10-26 20:01 ` J Freyensee
  0 siblings, 0 replies; 2+ messages in thread
From: J Freyensee @ 2016-10-26 20:01 UTC (permalink / raw)


On Mon, 2016-10-24@08:50 -0700, James Smart wrote:
> Add HAS_DMA to FC Transport host and target Kconfig
> 
> Obviously dependent on prior patches to add FC transport

Looks good,

Reviewed-by: Jay Freyensee <james_p_freyensee at linux.intel.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-26 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-24 15:50 [PATCH] nvme-fabrics: Add HAS_DMA to FC Transport Kconfigs James Smart
2016-10-26 20:01 ` J Freyensee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).