Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_PCI_H
0003 #define __ASM_PCI_H
0004 
0005 #include <linux/types.h>
0006 #include <linux/slab.h>
0007 #include <linux/dma-mapping.h>
0008 
0009 #include <asm/io.h>
0010 
0011 #define PCIBIOS_MIN_IO      0x1000
0012 
0013 /*
0014  * Set to 1 if the kernel should re-assign all PCI bus numbers
0015  */
0016 #define pcibios_assign_all_busses() \
0017     (pci_has_flag(PCI_REASSIGN_ALL_BUS))
0018 
0019 #define arch_can_pci_mmap_wc() 1
0020 
0021 /* Generic PCI */
0022 #include <asm-generic/pci.h>
0023 
0024 #endif  /* __ASM_PCI_H */