This patch series has been triggered by a recent series by Shimoda-san http://www.spinics.net/lists/linux-sh/index.html#09895 In a follow up to that thread it has been decided to extract a common library from the current shdma driver to be re-used by other dmaengine drivers. Primarily this library provides a flexible transfer descriptor management for hardware, that does not dupport scatter-gather lists natively. In such cases this library can be used to split transfer requests into smaller chunks, up to the size, supported by the specific hardware, enter them onto a linked list, thack their completion and call user callbacks. This is a first shot, aimed to be used by the SUDMAC driver. Once it is confirmed, that this version can be conveniently used with it, I'll do some cosmetic clean up, notably, add / improve documentation:-)
Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/