qemu-cr16/include/hw/net
Guenter Roeck e530e5d034 hw/net/cadence_gem: Support two Ethernet interfaces connected to single MDIO bus
The Microchip PolarFire SoC Icicle Kit supports two Ethernet interfaces.
The PHY on each may be connected to separate MDIO busses, or both may be
connected on the same MDIO bus using different PHY addresses.

To be able to support two PHY instances on a single MDIO bus, two properties
are needed: First, there needs to be a flag indicating if the MDIO bus on
a given Ethernet interface is connected. If not, attempts to read from this
bus must always return 0xffff. Implement this property as phy-connected.
Second, if the MDIO bus on an interface is active, it needs a link to the
consumer interface to be able to provide PHY access for it. Implement this
property as phy-consumer.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20251004200049.871646-2-linux@roeck-us.net>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2025-10-24 09:24:08 +10:00
..
allwinner-sun8i-emac.h Clean up decorations and whitespace around header guards 2022-05-11 16:50:32 +02:00
allwinner_emac.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
cadence_gem.h hw/net/cadence_gem: Support two Ethernet interfaces connected to single MDIO bus 2025-10-24 09:24:08 +10:00
dp8393x.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
ftgmac100.h hw/net:ftgmac100: introduce TX and RX ring base address high registers to support 64 bits 2024-07-09 08:05:44 +02:00
imx_fec.h hw/net/lan9118_phy: Reuse in imx_fec and consolidate implementations 2024-12-11 15:30:51 +00:00
lan9118.h hw/net/lan9118: use qemu_configure_nic_device() 2024-02-02 16:23:47 +00:00
lan9118_phy.h hw/net/lan9118: Extract lan9118_phy 2024-12-11 15:30:51 +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 hw/net/lan9118_phy: Reuse MII constants 2024-12-11 15:30:52 +00:00
msf2-emac.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07: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
npcm_gmac.h hw/net/npcm_gmac.h: correct typos 2024-02-21 08:16:43 +03:00
npcm_pcs.h hw/net: Add NPCM8XX PCS Module 2025-02-20 15:22:22 +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/xlnx-versal-canfd: remove register API usage for banked regs 2025-10-21 20:16:47 +02:00
xlnx-zynqmp-can.h include: Include headers where needed 2023-01-08 01:54:22 -05:00