1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited 4 */ 5 #ifndef _ASM_PCI_H 6 #define _ASM_PCI_H 7 8 #include <linux/ioport.h> 9 #include <linux/list.h> 10 #include <linux/types.h> 11 #include <asm/io.h> 12 13 #define PCIBIOS_MIN_IO 0x4000 14 #define PCIBIOS_MIN_MEM 0x20000000 15 #define PCIBIOS_MIN_CARDBUS_IO 0x4000 16 17 #define HAVE_PCI_MMAP 18 #define pcibios_assign_all_busses() 0 19 20 extern phys_addr_t mcfg_addr_init(int node); 21 22 /* generic pci stuff */ 23 #include <asm-generic/pci.h> 24 25 #endif /* _ASM_PCI_H */ 26