[PATCH v6] dmaengine: Driver support for FSL RaidEngine device.

Vinod Koul vinod.koul at intel.com
Thu Apr 2 21:43:35 AEDT 2015


On Tue, Mar 03, 2015 at 02:26:22PM +0800, xuelin.shi at freescale.com wrote:
> From: Xuelin Shi <xuelin.shi at freescale.com>
> 
> The RaidEngine is a new FSL hardware used for Raid5/6 acceration.
> This patch enables the RaidEngine functionality and provides
> hardware offloading capability for memcpy, xor and pq computation.
> It works with async_tx.
Applied, with below patch added on top

diff --git a/drivers/dma/fsl_raid.c b/drivers/dma/fsl_raid.c
index 12778bd6446b..4d9470f16552 100644
--- a/drivers/dma/fsl_raid.c
+++ b/drivers/dma/fsl_raid.c
@@ -629,7 +629,7 @@ static void fsl_re_free_chan_resources(struct dma_chan
*chan)
                dev_err(re_chan->dev, "chan resource cannot be cleaned!\n");
 }

-int fsl_re_chan_probe(struct platform_device *ofdev,
+static int fsl_re_chan_probe(struct platform_device *ofdev,
                      struct device_node *np, u8 q, u32 off)
 {
        struct device *dev, *chandev;

-- 
~Vinod


More information about the Linuxppc-dev mailing list