add a preliminary port of the dma code for mt7603

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2015-12-07 00:17:11 +01:00
parent 09b677d777
commit d9fa49264e
11 changed files with 412 additions and 10 deletions
+2
View File
@@ -13,6 +13,8 @@
#ifndef __MT76_DMA_H
#define __MT76_DMA_H
#define MT_RING_SIZE 0x10
#define MT_DMA_CTL_SD_LEN1 GENMASK(13, 0)
#define MT_DMA_CTL_LAST_SEC1 BIT(14)
#define MT_DMA_CTL_BURST BIT(15)