Skip to content

Commit

Permalink
CRIS: New DMA defines for ARTPEC-3
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Nilsson <[email protected]>
  • Loading branch information
jniax committed Aug 4, 2010
1 parent da2af0a commit 6f09963
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions arch/cris/include/arch-v32/mach-a3/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@

#define MAX_DMA_CHANNELS 12 /* 8 and 10 not used. */

#define NETWORK_ETH_TX_DMA_NBR 0 /* Ethernet 0 out. */
#define NETWORK_ETH_RX_DMA_NBR 1 /* Ethernet 0 in. */

#define IO_PROC_DMA_TX_DMA_NBR 4 /* IO processor DMA0 out. */
#define IO_PROC_DMA_RX_DMA_NBR 5 /* IO processor DMA0 in. */

#define ASYNC_SER3_TX_DMA_NBR 2 /* Asynchronous serial port 3 out. */
#define ASYNC_SER3_RX_DMA_NBR 3 /* Asynchronous serial port 3 in. */

#define ASYNC_SER2_TX_DMA_NBR 6 /* Asynchronous serial port 2 out. */
#define ASYNC_SER2_RX_DMA_NBR 7 /* Asynchronous serial port 2 in. */

#define ASYNC_SER1_TX_DMA_NBR 4 /* Asynchronous serial port 1 out. */
#define ASYNC_SER1_RX_DMA_NBR 5 /* Asynchronous serial port 1 in. */

#define SYNC_SER_TX_DMA_NBR 6 /* Synchronous serial port 0 out. */
#define SYNC_SER_RX_DMA_NBR 7 /* Synchronous serial port 0 in. */

#define ASYNC_SER0_TX_DMA_NBR 0 /* Asynchronous serial port 0 out. */
#define ASYNC_SER0_RX_DMA_NBR 1 /* Asynchronous serial port 0 in. */

#define STRCOP_TX_DMA_NBR 2 /* Stream co-processor out. */
#define STRCOP_RX_DMA_NBR 3 /* Stream co-processor in. */

#define dma_eth0 dma_eth
#define dma_eth1 dma_eth

enum dma_owner {
dma_eth,
dma_ser0,
Expand Down

0 comments on commit 6f09963

Please sign in to comment.