[PATCH v3] dmaengine: driver support for FSL RaidEngine device.

Dan Williams dan.j.williams at intel.com
Tue Apr 15 10:30:00 EST 2014


On Sun, Apr 13, 2014 at 7:48 PM, Xuelin Shi <xuelin.shi at freescale.com> wrote:
> Hi Dan,
>
> fsl dma device and fsl raid device are two differenct devices that both provide async_memcpy
> capability, so I use !FSL_DMA to disable the fsl dma device.
>
> That's to say, either select fsldma device, either fsl raid device.
>

Right, but that's not what your proposed Kconfig dependency line does.

You want something like "depends on FSL_SOC && !(FSL_DMA || FSL_DMA=m)"

However, the more problematic option is ASYNC_TX_CHANNEL_SWITCH.  That
option is problematic for RAID, so I propose "depend on
!ASYNC_TX_CHANNEL_SWITCH" since that addresses both problems.


More information about the Linuxppc-dev mailing list