123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef _XTENSA_DMA_H
- #define _XTENSA_DMA_H
- #include <asm/io.h>
- #define MAX_DMA_CHANNELS 8
- #ifndef MAX_DMA_ADDRESS
- #define MAX_DMA_ADDRESS (PAGE_OFFSET + XCHAL_KIO_SIZE - 1)
- #endif
- extern int request_dma(unsigned int dmanr, const char * device_id);
- extern void free_dma(unsigned int dmanr);
- #ifdef CONFIG_PCI
- extern int isa_dma_bridge_buggy;
- #else
- #define isa_dma_bridge_buggy (0)
- #endif
- #endif
|