b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _ASM_S390_DMA_H |
| 3 | #define _ASM_S390_DMA_H |
| 4 | |
| 5 | #include <asm/io.h> |
| 6 | |
| 7 | /* |
| 8 | * MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated |
| 9 | * to DMA. It _is_ used for the s390 memory zone split at 2GB caused |
| 10 | * by the 31 bit heritage. |
| 11 | */ |
| 12 | #define MAX_DMA_ADDRESS 0x80000000 |
| 13 | |
| 14 | #ifdef CONFIG_PCI |
| 15 | extern int isa_dma_bridge_buggy; |
| 16 | #else |
| 17 | #define isa_dma_bridge_buggy (0) |
| 18 | #endif |
| 19 | |
| 20 | #endif /* _ASM_S390_DMA_H */ |