xref: /openbmc/linux/arch/s390/include/asm/dma.h (revision 87890f92278dc0c2da4ecdaa196006a3c2cf3687)
1828b35f6SJan Glauber #ifndef _ASM_S390_DMA_H
2828b35f6SJan Glauber #define _ASM_S390_DMA_H
3828b35f6SJan Glauber 
4828b35f6SJan Glauber #include <asm/io.h>
5828b35f6SJan Glauber 
6c6557e7fSMartin Schwidefsky /*
7828b35f6SJan Glauber  * MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated
8828b35f6SJan Glauber  * to DMA. It _is_ used for the s390 memory zone split at 2GB caused
9828b35f6SJan Glauber  * by the 31 bit heritage.
10c6557e7fSMartin Schwidefsky  */
11c6557e7fSMartin Schwidefsky #define MAX_DMA_ADDRESS         0x80000000
12c6557e7fSMartin Schwidefsky 
13*87890f92SHeiko Carstens #ifdef CONFIG_PCI
14*87890f92SHeiko Carstens extern int isa_dma_bridge_buggy;
15*87890f92SHeiko Carstens #else
16*87890f92SHeiko Carstens #define isa_dma_bridge_buggy	(0)
17*87890f92SHeiko Carstens #endif
18*87890f92SHeiko Carstens 
19828b35f6SJan Glauber #endif /* _ASM_S390_DMA_H */
20