2019-08-16 15:23:03 +02:00
|
|
|
pci_ss = ss.source_set()
|
|
|
|
pci_ss.add(when: 'CONFIG_PAM', if_true: files('pam.c'))
|
|
|
|
pci_ss.add(when: 'CONFIG_PCI_BONITO', if_true: files('bonito.c'))
|
|
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_DESIGNWARE', if_true: files('designware.c'))
|
|
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', if_true: files('gpex.c'))
|
2021-04-25 20:21:24 +02:00
|
|
|
pci_ss.add(when: ['CONFIG_PCI_EXPRESS_GENERIC_BRIDGE', 'CONFIG_ACPI'], if_true: files('gpex-acpi.c'))
|
2019-08-16 15:23:03 +02:00
|
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_Q35', if_true: files('q35.c'))
|
|
|
|
pci_ss.add(when: 'CONFIG_PCI_EXPRESS_XILINX', if_true: files('xilinx-pcie.c'))
|
|
|
|
pci_ss.add(when: 'CONFIG_PCI_I440FX', if_true: files('i440fx.c'))
|
|
|
|
pci_ss.add(when: 'CONFIG_PCI_SABRE', if_true: files('sabre.c'))
|
|
|
|
pci_ss.add(when: 'CONFIG_XEN_IGD_PASSTHROUGH', if_true: files('xen_igd_pt.c'))
|
2021-01-29 17:46:06 +01:00
|
|
|
pci_ss.add(when: 'CONFIG_REMOTE_PCIHOST', if_true: files('remote.c'))
|
2021-02-21 19:56:35 +01:00
|
|
|
pci_ss.add(when: 'CONFIG_SH_PCI', if_true: files('sh_pci.c'))
|
2019-08-16 15:23:03 +02:00
|
|
|
|
|
|
|
# PPC devices
|
2021-04-16 18:18:58 +02:00
|
|
|
pci_ss.add(when: 'CONFIG_RAVEN_PCI', if_true: files('raven.c'))
|
2019-08-16 15:23:03 +02:00
|
|
|
pci_ss.add(when: 'CONFIG_GRACKLE_PCI', if_true: files('grackle.c'))
|
|
|
|
# NewWorld PowerMac
|
|
|
|
pci_ss.add(when: 'CONFIG_UNIN_PCI', if_true: files('uninorth.c'))
|
|
|
|
# PowerPC E500 boards
|
|
|
|
pci_ss.add(when: 'CONFIG_PPCE500_PCI', if_true: files('ppce500.c'))
|
2021-03-25 14:50:39 +01:00
|
|
|
# Pegasos2
|
|
|
|
pci_ss.add(when: 'CONFIG_MV64361', if_true: files('mv64361.c'))
|
2019-08-16 15:23:03 +02:00
|
|
|
|
|
|
|
# ARM devices
|
|
|
|
pci_ss.add(when: 'CONFIG_VERSATILE_PCI', if_true: files('versatile.c'))
|
|
|
|
|
2022-05-04 11:25:32 +02:00
|
|
|
# HPPA devices
|
|
|
|
pci_ss.add(when: 'CONFIG_DINO', if_true: files('dino.c'))
|
|
|
|
|
2019-08-16 15:23:03 +02:00
|
|
|
softmmu_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss)
|
|
|
|
|
2020-12-24 18:23:03 +01:00
|
|
|
specific_ss.add(when: 'CONFIG_PCI_POWERNV', if_true: files(
|
2019-08-16 15:23:03 +02:00
|
|
|
'pnv_phb3.c',
|
|
|
|
'pnv_phb3_msi.c',
|
|
|
|
'pnv_phb3_pbcq.c',
|
|
|
|
'pnv_phb4.c',
|
2022-06-24 10:49:11 +02:00
|
|
|
'pnv_phb4_pec.c',
|
|
|
|
'pnv_phb.c',
|
2019-08-16 15:23:03 +02:00
|
|
|
))
|