xref: /qemu/hw/pci-host/meson.build (revision 09951f5a27a7f8633118c1808cf17e66b30c3c62)
19235a82dSMarc-André Lureaupci_ss = ss.source_set()
29235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c'))
39235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c'))
4a7db759eSPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64120.c'))
59235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c'))
69235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c'))
74872fdf7SPhilippe Mathieu-Daudépci_ss.add(when: ['CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', 'CONFIG_ACPI'], if_true: files('gpex-acpi.c'))
89235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c'))
99235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c'))
109235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c'))
119235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c'))
129235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c'))
136fbd84d6SJagannathan Ramanpci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c'))
14c64bd101SPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c'))
159235a82dSMarc-André Lureau
169235a82dSMarc-André Lureau# PPC devices
1755abb29eSPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_PPC4XX_PCI', if_true: files('ppc4xx_pci.c'))
1822dc8a47SPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_PPC440_PCIX', if_true: files('ppc440_pcix.c'))
1946fd3201SPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_RAVEN_PCI', if_true: files('raven.c'))
209235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
219235a82dSMarc-André Lureau# NewWorld PowerMac
229235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
239235a82dSMarc-André Lureau# PowerPC E500 boards
249235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
2597d3b2cdSBALATON Zoltan# AmigaOne
2697d3b2cdSBALATON Zoltanpci_ss.add(when: 'CONFIG_ARTICIA', if_true: files('articia.c'))
27dcdf98a9SBALATON Zoltan# Pegasos2
28dcdf98a9SBALATON Zoltanpci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c'))
299235a82dSMarc-André Lureau
309235a82dSMarc-André Lureau# ARM devices
31*fd1deb53SBernhard Beschowpci_ss.add(when: 'CONFIG_PCI_EXPRESS_FSL_IMX8M_PHY', if_true: files('fsl_imx8m_phy.c'))
329235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
339235a82dSMarc-André Lureau
340db9350eSMark Cave-Ayland# HPPA devices
358066102dSHelge Dellerspecific_ss.add(when: 'CONFIG_ASTRO', if_true: files('astro.c'))
360db9350eSMark Cave-Aylandpci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c'))
370db9350eSMark Cave-Ayland
38de6cd759SPhilippe Mathieu-Daudésystem_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
399235a82dSMarc-André Lureau
40995d9556SGreg Kurzspecific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
419235a82dSMarc-André Lureau  'pnv_phb3.c',
429235a82dSMarc-André Lureau  'pnv_phb3_msi.c',
439235a82dSMarc-André Lureau  'pnv_phb3_pbcq.c',
449235a82dSMarc-André Lureau  'pnv_phb4.c',
45e4e6db52SDaniel Henrique Barboza  'pnv_phb4_pec.c',
46e4e6db52SDaniel Henrique Barboza  'pnv_phb.c',
479235a82dSMarc-André Lureau))
48