pci.h 543 B

12345678910111213141516171819202122232425
  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. #include <linux/ioport.h>
  8. #include <linux/list.h>
  9. #include <linux/types.h>
  10. #include <asm/io.h>
  11. #define PCIBIOS_MIN_IO 0x4000
  12. #define PCIBIOS_MIN_MEM 0x20000000
  13. #define PCIBIOS_MIN_CARDBUS_IO 0x4000
  14. #define HAVE_PCI_MMAP
  15. #define pcibios_assign_all_busses() 0
  16. extern phys_addr_t mcfg_addr_init(int node);
  17. /* generic pci stuff */
  18. #include <asm-generic/pci.h>
  19. #endif /* _ASM_PCI_H */