1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * This file is subject to the terms and conditions of the GNU General Public 4 * License. See the file "COPYING" in the main directory of this archive 5 * for more details. 6 * 7 * Copyright (C) 2020 Loongson Technology Co., Ltd. 8 * 9 */ 10 #ifndef __ASM_DMA_H 11 #define __ASM_DMA_H 12 13 #define MAX_DMA_ADDRESS PAGE_OFFSET 14 #define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) 15 16 extern int isa_dma_bridge_buggy; 17 18 #endif 19