qemu/include/hw/net
David Woodhouse 2a98878ff4 hw/net/lasi_i82596: use qemu_create_nic_device()
Create the device only if there is a corresponding NIC config for it.
Remove the explicit check on nd_table[0].used from hw/hppa/machine.c
which (since commit d8a3220005) tries to do the same thing.

The lasi_82596 support has been disabled since it was first introduced,
since enable_lasi_lan() has always been zero. This allows the user to
enable it by explicitly requesting a NIC model 'lasi_82596' or just
using the alias 'lasi'. Otherwise, it defaults to a PCI NIC as before.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Huth <thuth@redhat.com>
2024-02-02 16:23:47 +00:00
..
allwinner_emac.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
allwinner-sun8i-emac.h Clean up decorations and whitespace around header guards 2022-05-11 16:50:32 +02:00
cadence_gem.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
dp8393x.h hw/net/dp8393x.c: move TYPE_DP8393X and dp8393xState into dp8393x.h 2023-06-22 09:25:40 +02:00
ftgmac100.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
imx_fec.h hw/net/imx_fec: Support two Ethernet interfaces connected to single MDIO bus 2023-04-20 10:25:43 +01:00
lan9118.h hw/net/lan9118: use qemu_configure_nic_device() 2024-02-02 16:23:47 +00:00
lance.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
lasi_82596.h hw/net/lasi_i82596: use qemu_create_nic_device() 2024-02-02 16:23:47 +00:00
mii.h include/: spelling fixes 2023-09-08 13:08:52 +03:00
msf2-emac.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
mv88w8618_eth.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
ne2000-isa.h hw/i386/pc: use qemu_get_nic_info() and pci_init_nic_devices() 2024-02-02 16:23:47 +00:00
npcm7xx_emc.h hw/arm/npcm7xx: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() 2023-01-12 17:15:09 +00:00
smc91c111.h hw/net/smc91c111: use qemu_configure_nic_device() 2024-02-02 16:23:47 +00:00
xlnx-versal-canfd.h hw/net/can: Introduce Xilinx Versal CANFD controller 2023-06-06 10:19:30 +01:00
xlnx-zynqmp-can.h include: Include headers where needed 2023-01-08 01:54:22 -05:00