xref: /qemu/hw/pci-host/meson.build (revision 8066102df12fecfac7b076bd6aa208e63f8f0b04)
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
1746fd3201SPhilippe Mathieu-Daudépci_ss.add(when: 'CONFIG_RAVEN_PCI', if_true: files('raven.c'))
189235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
199235a82dSMarc-André Lureau# NewWorld PowerMac
209235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
219235a82dSMarc-André Lureau# PowerPC E500 boards
229235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
2397d3b2cdSBALATON Zoltan# AmigaOne
2497d3b2cdSBALATON Zoltanpci_ss.add(when: 'CONFIG_ARTICIA', if_true: files('articia.c'))
25dcdf98a9SBALATON Zoltan# Pegasos2
26dcdf98a9SBALATON Zoltanpci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c'))
279235a82dSMarc-André Lureau
289235a82dSMarc-André Lureau# ARM devices
299235a82dSMarc-André Lureaupci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
309235a82dSMarc-André Lureau
310db9350eSMark Cave-Ayland# HPPA devices
32*8066102dSHelge Dellerspecific_ss.add(when: 'CONFIG_ASTRO', if_true: files('astro.c'))
330db9350eSMark Cave-Aylandpci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c'))
340db9350eSMark Cave-Ayland
35de6cd759SPhilippe Mathieu-Daudésystem_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
369235a82dSMarc-André Lureau
37995d9556SGreg Kurzspecific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
389235a82dSMarc-André Lureau  'pnv_phb3.c',
399235a82dSMarc-André Lureau  'pnv_phb3_msi.c',
409235a82dSMarc-André Lureau  'pnv_phb3_pbcq.c',
419235a82dSMarc-André Lureau  'pnv_phb4.c',
42e4e6db52SDaniel Henrique Barboza  'pnv_phb4_pec.c',
43e4e6db52SDaniel Henrique Barboza  'pnv_phb.c',
449235a82dSMarc-André Lureau))
45