mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 09:34:44 +08:00
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>
26 lines
543 B
C
26 lines
543 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited
|
|
*/
|
|
#ifndef _ASM_PCI_H
|
|
#define _ASM_PCI_H
|
|
|
|
#include <linux/ioport.h>
|
|
#include <linux/list.h>
|
|
#include <linux/types.h>
|
|
#include <asm/io.h>
|
|
|
|
#define PCIBIOS_MIN_IO 0x4000
|
|
#define PCIBIOS_MIN_MEM 0x20000000
|
|
#define PCIBIOS_MIN_CARDBUS_IO 0x4000
|
|
|
|
#define HAVE_PCI_MMAP
|
|
#define pcibios_assign_all_busses() 0
|
|
|
|
extern phys_addr_t mcfg_addr_init(int node);
|
|
|
|
/* generic pci stuff */
|
|
#include <asm-generic/pci.h>
|
|
|
|
#endif /* _ASM_PCI_H */
|