pci.h 469 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_PCI_H
  3. #define __ASM_PCI_H
  4. #include <linux/types.h>
  5. #include <linux/slab.h>
  6. #include <linux/dma-mapping.h>
  7. #include <asm/io.h>
  8. #define PCIBIOS_MIN_IO 0x1000
  9. /*
  10. * Set to 1 if the kernel should re-assign all PCI bus numbers
  11. */
  12. #define pcibios_assign_all_busses() \
  13. (pci_has_flag(PCI_REASSIGN_ALL_BUS))
  14. #define arch_can_pci_mmap_wc() 1
  15. /* Generic PCI */
  16. #include <asm-generic/pci.h>
  17. #endif /* __ASM_PCI_H */