diff options
Diffstat (limited to 'include/asm-sh/dma.h')
-rw-r--r-- | include/asm-sh/dma.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sh/dma.h b/include/asm-sh/dma.h index 4561b3d05..16f54584c 100644 --- a/include/asm-sh/dma.h +++ b/include/asm-sh/dma.h @@ -6,6 +6,10 @@ #define MAX_DMA_CHANNELS 8 +/* The maximum address that we can perform a DMA transfer to on this platform */ +/* XXX: This is not applicable to SuperH, just needed for alloc_bootmem */ +#define MAX_DMA_ADDRESS (PAGE_OFFSET+0x1000000) + extern int request_dma(unsigned int dmanr, const char * device_id); /* reserve a DMA channel */ extern void free_dma(unsigned int dmanr); /* release it again */ |