Hi Sascha,<br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
+<br>
+struct imxdma_channel {<br>
+ struct imxdma_engine *imxdma;<br>
+ unsigned int channel;<br>
+ unsigned int imxdma_channel;<br>
+<br>
+ enum dma_data_direction direction;<br>
+ enum dma_slave_buswidth word_size;<br>
+ dma_addr_t bd_phys;<br>
+ unsigned long flags;<br>
+ dma_addr_t per_address;<br>
+ u32 watermark_level;<br>
+ struct dma_chan chan;<br>
+ spinlock_t lock;<br>
+ struct dma_async_tx_descriptor desc;<br>
+ dma_cookie_t last_completed;<br>
+ enum dma_status status;<br>
+ int dma_request;<br>
+ struct scatterlist *sg_list;<br>
+};<br>
+<br>
+#define MAX_DMA_CHANNELS 8<br clear="all"></blockquote><br><div> i.MX27 has 16 DMA channels. Maybe an #ifdef would solve the issue.<br><br><br></div></div>-- <br>Javier Martin<br>Vista Silicon S.L.<br>CDTUC - FASE C - Oficina S-345<br>
Avda de los Castros s/n<br>39005- Santander. Cantabria. Spain<br>+34 942 25 32 60<br><a href="http://www.vista-silicon.com">www.vista-silicon.com</a><br>