mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Steven J. Magnani" <steve@digidescorp.com>
To: Dan Williams <dan.j.williams@intel.com>
Cc: linux-kernel@vger.kernel.org, microblaze-uclinux@itee.uq.edu.au,
	monstr@monstr.eu, Grant Likely <grant.likely@secretlab.ca>,
	"Steven J. Magnani" <steve@digidescorp.com>
Subject: [PATCH 2/4] dmaengine: Xilinx MPMC Kconfig/make
Date: Wed, 17 Mar 2010 11:26:16 -0500	[thread overview]
Message-ID: <1268843176-15269-1-git-send-email-steve@digidescorp.com> (raw)

Integrate xlldma drivers into the build.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
---
diff -uprN a/drivers/dma/Kconfig b/drivers/dma/Kconfig
--- a/drivers/dma/Kconfig	2010-03-16 13:27:42.000000000 -0500
+++ b/drivers/dma/Kconfig	2010-03-17 11:11:57.000000000 -0500
@@ -126,6 +126,28 @@ config AMCC_PPC440SPE_ADMA
 	help
 	  Enable support for the AMCC PPC440SPe RAID engines.
 
+config XLL_DMA
+	tristate "Xilinx LocalLink DMA support"
+	depends on XILINX_VIRTEX || MICROBLAZE
+	select DMA_ENGINE
+	---help---
+	  Enable support for the Xilinx MPMC DMA controller.
+	  This requires at least one MPMC SDMA port wired as a "loopback".
+
+	  If unsure, say N.
+
+config XLL_DMA_OF
+        tristate "Xilinx LocalLink DMA OF device"
+        depends on XLL_DMA && OF
+        help
+          OpenFirmware bus attachment for the Xilinx LocalLink DMA engine.
+
+config XLL_DMA_PLAT
+        tristate "Xilinx LocalLink DMA platform device"
+        depends on XLL_DMA
+        help
+          Platform bus attachment for the Xilinx LocalLink DMA engine.
+
 config ARCH_HAS_ASYNC_TX_FIND_CHANNEL
 	bool
 
@@ -138,13 +160,13 @@ comment "DMA Clients"
 config NET_DMA
 	bool "Network: TCP receive copy offload"
 	depends on DMA_ENGINE && NET
-	default (INTEL_IOATDMA || FSL_DMA)
+	default (INTEL_IOATDMA || FSL_DMA || XLL_DMA)
 	help
 	  This enables the use of DMA engines in the network stack to
 	  offload receive copy-to-user operations, freeing CPU cycles.
 
-	  Say Y here if you enabled INTEL_IOATDMA or FSL_DMA, otherwise
-	  say N.
+	  Say Y here if you enabled INTEL_IOATDMA, FSL_DMA, or XLL_DMA,
+	  otherwise say N.
 
 config ASYNC_TX_DMA
 	bool "Async_tx: Offload support for the async_tx api"
diff -uprN a/drivers/dma/Makefile b/drivers/dma/Makefile
--- a/drivers/dma/Makefile	2010-03-16 13:27:37.000000000 -0500
+++ b/drivers/dma/Makefile	2010-03-16 15:10:54.000000000 -0500
@@ -11,4 +11,7 @@ obj-$(CONFIG_MX3_IPU) += ipu/
 obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o
 obj-$(CONFIG_SH_DMAE) += shdma.o
 obj-$(CONFIG_COH901318) += coh901318.o coh901318_lli.o
+obj-$(CONFIG_XLL_DMA) += xlldma.o
+obj-$(CONFIG_XLL_DMA_OF) += xlldma_of.o
+obj-$(CONFIG_XLL_DMA_PLAT) += xlldma_plat.o
 obj-$(CONFIG_AMCC_PPC440SPE_ADMA) += ppc4xx/



             reply	other threads:[~2010-03-17 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 16:26 Steven J. Magnani [this message]
2010-03-25  0:46 ` Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1268843176-15269-1-git-send-email-steve@digidescorp.com \
    --to=steve@digidescorp.com \
    --cc=dan.j.williams@intel.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=microblaze-uclinux@itee.uq.edu.au \
    --cc=monstr@monstr.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®