xref: /openbmc/linux/arch/s390/include/asm/dma.h (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2828b35f6SJan Glauber #ifndef _ASM_S390_DMA_H
3828b35f6SJan Glauber #define _ASM_S390_DMA_H
4828b35f6SJan Glauber 
5828b35f6SJan Glauber #include <asm/io.h>
6828b35f6SJan Glauber 
7c6557e7fSMartin Schwidefsky /*
8828b35f6SJan Glauber  * MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated
9828b35f6SJan Glauber  * to DMA. It _is_ used for the s390 memory zone split at 2GB caused
10828b35f6SJan Glauber  * by the 31 bit heritage.
11c6557e7fSMartin Schwidefsky  */
12c6557e7fSMartin Schwidefsky #define MAX_DMA_ADDRESS         0x80000000
13c6557e7fSMartin Schwidefsky 
1487890f92SHeiko Carstens #ifdef CONFIG_PCI
1587890f92SHeiko Carstens extern int isa_dma_bridge_buggy;
1687890f92SHeiko Carstens #else
1787890f92SHeiko Carstens #define isa_dma_bridge_buggy	(0)
1887890f92SHeiko Carstens #endif
1987890f92SHeiko Carstens 
20828b35f6SJan Glauber #endif /* _ASM_S390_DMA_H */
21