1b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_DP8393X', if_true: files('dp8393x.c')) 2b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_XEN', if_true: files('xen_nic.c')) 3b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_NE2000_COMMON', if_true: files('ne2000.c')) 4b1419fa6SMarc-André Lureau 5b1419fa6SMarc-André Lureau# PCI network cards 6b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_NE2000_PCI', if_true: files('ne2000-pci.c')) 7b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_EEPRO100_PCI', if_true: files('eepro100.c')) 8b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_PCNET_PCI', if_true: files('pcnet-pci.c')) 9b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_PCNET_COMMON', if_true: files('pcnet.c')) 10b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_E1000_PCI', if_true: files('e1000.c', 'e1000x_common.c')) 11b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_E1000E_PCI_EXPRESS', if_true: files('net_tx_pkt.c', 'net_rx_pkt.c')) 12b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_E1000E_PCI_EXPRESS', if_true: files('e1000e.c', 'e1000e_core.c', 'e1000x_common.c')) 13b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_RTL8139_PCI', if_true: files('rtl8139.c')) 14b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_TULIP', if_true: files('tulip.c')) 15b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_VMXNET3_PCI', if_true: files('net_tx_pkt.c', 'net_rx_pkt.c')) 16b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_VMXNET3_PCI', if_true: files('vmxnet3.c')) 17b1419fa6SMarc-André Lureau 18b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_SMC91C111', if_true: files('smc91c111.c')) 19b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_LAN9118', if_true: files('lan9118.c')) 20b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_NE2000_ISA', if_true: files('ne2000-isa.c')) 21b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_OPENCORES_ETH', if_true: files('opencores_eth.c')) 22b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_XGMAC', if_true: files('xgmac.c')) 23b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_MIPSNET', if_true: files('mipsnet.c')) 24b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('xilinx_axienet.c')) 25b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_ALLWINNER_EMAC', if_true: files('allwinner_emac.c')) 26b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_ALLWINNER_SUN8I_EMAC', if_true: files('allwinner-sun8i-emac.c')) 27b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_IMX_FEC', if_true: files('imx_fec.c')) 28b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_MSF2', if_true: files('msf2-emac.c')) 296d81f488SPhilippe Mathieu-Daudésoftmmu_ss.add(when: 'CONFIG_MARVELL_88W8618', if_true: files('mv88w8618_eth.c')) 30b1419fa6SMarc-André Lureau 31b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_CADENCE', if_true: files('cadence_gem.c')) 32b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_STELLARIS_ENET', if_true: files('stellaris_enet.c')) 33b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_LANCE', if_true: files('lance.c')) 34b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_LASI_I82596', if_true: files('lasi_i82596.c')) 35b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_I82596_COMMON', if_true: files('i82596.c')) 36b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_SUNHME', if_true: files('sunhme.c')) 37b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_FTGMAC100', if_true: files('ftgmac100.c')) 38b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_SUNGEM', if_true: files('sungem.c')) 3901c966b5SDoug Evanssoftmmu_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_emc.c')) 40b1419fa6SMarc-André Lureau 41b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_eth.c')) 42b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_COLDFIRE', if_true: files('mcf_fec.c')) 43b1419fa6SMarc-André Lureauspecific_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr_llan.c')) 44b1419fa6SMarc-André Lureauspecific_ss.add(when: 'CONFIG_XILINX_ETHLITE', if_true: files('xilinx_ethlite.c')) 45b1419fa6SMarc-André Lureau 46b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('net_rx_pkt.c')) 47b1419fa6SMarc-André Lureauspecific_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('virtio-net.c')) 48b1419fa6SMarc-André Lureau 49*43b6d7eeSPaolo Bonziniif have_vhost_net 50*43b6d7eeSPaolo Bonzini softmmu_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost_net.c'), if_false: files('vhost_net-stub.c')) 51b1419fa6SMarc-André Lureau softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('vhost_net-stub.c')) 52*43b6d7eeSPaolo Bonzinielse 53*43b6d7eeSPaolo Bonzini softmmu_ss.add(files('vhost_net-stub.c')) 54*43b6d7eeSPaolo Bonziniendif 55b1419fa6SMarc-André Lureau 56b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_ETSEC', if_true: files( 57b1419fa6SMarc-André Lureau 'fsl_etsec/etsec.c', 58b1419fa6SMarc-André Lureau 'fsl_etsec/miim.c', 59b1419fa6SMarc-André Lureau 'fsl_etsec/registers.c', 60b1419fa6SMarc-André Lureau 'fsl_etsec/rings.c', 61b1419fa6SMarc-André Lureau)) 62b1419fa6SMarc-André Lureau 63b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_ROCKER', if_true: files( 64b1419fa6SMarc-André Lureau 'rocker/rocker.c', 65b1419fa6SMarc-André Lureau 'rocker/rocker_desc.c', 66b1419fa6SMarc-André Lureau 'rocker/rocker_fp.c', 67b1419fa6SMarc-André Lureau 'rocker/rocker_of_dpa.c', 68b1419fa6SMarc-André Lureau 'rocker/rocker_world.c', 69b1419fa6SMarc-André Lureau), if_false: files('rocker/qmp-norocker.c')) 70b1419fa6SMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_ALL', if_true: files('rocker/qmp-norocker.c')) 71b1419fa6SMarc-André Lureau 72b1419fa6SMarc-André Lureausubdir('can') 73