18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _ASM_S390_DMA_H 38c2ecf20Sopenharmony_ci#define _ASM_S390_DMA_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <asm/io.h> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/* 88c2ecf20Sopenharmony_ci * MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated 98c2ecf20Sopenharmony_ci * to DMA. It _is_ used for the s390 memory zone split at 2GB caused 108c2ecf20Sopenharmony_ci * by the 31 bit heritage. 118c2ecf20Sopenharmony_ci */ 128c2ecf20Sopenharmony_ci#define MAX_DMA_ADDRESS 0x80000000 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#ifdef CONFIG_PCI 158c2ecf20Sopenharmony_ciextern int isa_dma_bridge_buggy; 168c2ecf20Sopenharmony_ci#else 178c2ecf20Sopenharmony_ci#define isa_dma_bridge_buggy (0) 188c2ecf20Sopenharmony_ci#endif 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#endif /* _ASM_S390_DMA_H */ 21