| 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')) |
| 4 | pci_ss.add(when: 'CONFIG_GT64120', if_true: files('gt64120.c')) |
| 5 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_ASPEED', if_true: files('aspeed_pcie.c')) |
| 6 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c')) |
| 7 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c')) |
| 8 | pci_ss.add(when: ['CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', 'CONFIG_ACPI'], if_true: files('gpex-acpi.c')) |
| 9 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c')) |
| 10 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c')) |
| 11 | pci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c')) |
| 12 | pci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c')) |
| 13 | pci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c')) |
| 14 | pci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c')) |
| 15 | pci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c')) |
| 16 | |
| 17 | # PPC devices |
| 18 | pci_ss.add(when: 'CONFIG_PPC4XX_PCI', if_true: files('ppc4xx_pci.c')) |
| 19 | pci_ss.add(when: 'CONFIG_PPC440_PCIX', if_true: files('ppc440_pcix.c')) |
| 20 | pci_ss.add(when: 'CONFIG_RAVEN_PCI', if_true: files('raven.c')) |
| 21 | pci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c')) |
| 22 | # NewWorld PowerMac |
| 23 | pci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c')) |
| 24 | # PowerPC E500 boards |
| 25 | pci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c')) |
| 26 | # AmigaOne |
| 27 | pci_ss.add(when: 'CONFIG_ARTICIA', if_true: files('articia.c')) |
| 28 | # Pegasos2 |
| 29 | pci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c')) |
| 30 | |
| 31 | # ARM devices |
| 32 | pci_ss.add(when: 'CONFIG_PCI_EXPRESS_FSL_IMX8M_PHY', if_true: files('fsl_imx8m_phy.c')) |
| 33 | pci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c')) |
| 34 | |
| 35 | # HPPA devices |
| 36 | specific_ss.add(when: 'CONFIG_ASTRO', if_true: files('astro.c')) |
| 37 | pci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c')) |
| 38 | |
| 39 | system_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss) |
| 40 | |
| 41 | specific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files( |
| 42 | 'pnv_phb3.c', |
| 43 | 'pnv_phb3_msi.c', |
| 44 | 'pnv_phb3_pbcq.c', |
| 45 | 'pnv_phb4.c', |
| 46 | 'pnv_phb4_pec.c', |
| 47 | 'pnv_phb5.c', |
| 48 | 'pnv_phb5_pec.c', |
| 49 | 'pnv_phb.c', |
| 50 | )) |