Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 1 | /* |
Russell King | f40b121 | 2008-11-29 18:48:07 +0000 | [diff] [blame] | 2 | * arch/arm/mach-rpc/include/mach/isa-dma.h |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 1997 Russell King |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | #ifndef __ASM_ARCH_DMA_H |
| 11 | #define __ASM_ARCH_DMA_H |
| 12 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 13 | #define MAX_DMA_CHANNELS 8 |
| 14 | |
| 15 | #define DMA_0 0 |
| 16 | #define DMA_1 1 |
| 17 | #define DMA_2 2 |
| 18 | #define DMA_3 3 |
| 19 | #define DMA_S0 4 |
| 20 | #define DMA_S1 5 |
| 21 | #define DMA_VIRTUAL_FLOPPY 6 |
| 22 | #define DMA_VIRTUAL_SOUND 7 |
| 23 | |
| 24 | #define DMA_FLOPPY DMA_VIRTUAL_FLOPPY |
| 25 | |
Russell King | 5369bea | 2008-12-11 16:37:06 +0000 | [diff] [blame] | 26 | #define IOMD_DMA_BOUNDARY (PAGE_SIZE - 1) |
| 27 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 28 | #endif /* _ASM_ARCH_DMA_H */ |
| 29 | |