Messages in this thread | | | Date | Mon, 16 Aug 2010 14:27:15 +0200 | Subject | Re: [PATCH 1/3] dmaengine: add possibility for cyclic transfers | From | Linus Walleij <> |
| |
2010/8/16 Lothar Waßmann <LW@karo-electronics.de>:
> Why not implement this feature using cyclic SG lists (created with > sg_chain())? This would give you endless DMA transfers without any > special DMA API extensions.
That would be elegant...
The driver will have to detect that the sglist is chained like an ouroboros to program the DMAC apropriately, is is easy to detect if an sglist is chained onto itself?
Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |