Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 1 | pci_ss = ss.source_set() |
| 2 | pci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c')) |
| 3 | pci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c')) |
Philippe Mathieu-Daudé | a7db759 | 2023-01-13 09:20:12 +0100 | [diff] [blame] | 4 | pci_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64120.c')) |
Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 5 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c')) |
| 6 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c')) |
Philippe Mathieu-Daudé | 4872fdf | 2021-04-25 20:21:24 +0200 | [diff] [blame] | 7 | pci_ss.add(when: ['CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', 'CONFIG_ACPI'], if_true: files('gpex-acpi.c')) |
Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 8 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c')) |
| 9 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c')) |
| 10 | pci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c')) |
| 11 | pci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c')) |
| 12 | pci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c')) |
Jagannathan Raman | 6fbd84d | 2021-01-29 11:46:06 -0500 | [diff] [blame] | 13 | pci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c')) |
Philippe Mathieu-Daudé | c64bd10 | 2021-02-21 19:56:35 +0100 | [diff] [blame] | 14 | pci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c')) |
Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 15 | |
| 16 | # PPC devices |
Philippe Mathieu-Daudé | 46fd320 | 2021-04-16 18:18:58 +0200 | [diff] [blame] | 17 | pci_ss.add(when: 'CONFIG_RAVEN_PCI', if_true: files('raven.c')) |
Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 18 | pci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c')) |
| 19 | # NewWorld PowerMac |
| 20 | pci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c')) |
| 21 | # PowerPC E500 boards |
| 22 | pci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c')) |
BALATON Zoltan | dcdf98a | 2021-03-25 14:50:39 +0100 | [diff] [blame] | 23 | # Pegasos2 |
| 24 | pci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c')) |
Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 25 | |
| 26 | # ARM devices |
| 27 | pci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c')) |
| 28 | |
Mark Cave-Ayland | 0db9350 | 2022-05-04 10:25:32 +0100 | [diff] [blame] | 29 | # HPPA devices |
| 30 | pci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c')) |
| 31 | |
Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 32 | softmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss) |
| 33 | |
Greg Kurz | 995d955 | 2020-12-24 18:23:03 +0100 | [diff] [blame] | 34 | specific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files( |
Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 35 | 'pnv_phb3.c', |
| 36 | 'pnv_phb3_msi.c', |
| 37 | 'pnv_phb3_pbcq.c', |
| 38 | 'pnv_phb4.c', |
Daniel Henrique Barboza | e4e6db5 | 2022-06-24 05:49:11 -0300 | [diff] [blame] | 39 | 'pnv_phb4_pec.c', |
| 40 | 'pnv_phb.c', |
Marc-André Lureau | 9235a82 | 2019-08-16 17:23:03 +0400 | [diff] [blame] | 41 | )) |