57fc7323a8
Loongson64 based systems are PC-like systems which use PCI/PCIe as its I/O bus, This patch adds the PCI host controller support for LoongArch. Reviewed-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
12 lines
247 B
C
12 lines
247 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
*/
|
|
#ifndef __ASM_DMA_H
|
|
#define __ASM_DMA_H
|
|
|
|
#define MAX_DMA_ADDRESS PAGE_OFFSET
|
|
#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT))
|
|
|
|
#endif
|