]> git.proxmox.com Git - mirror_qemu.git/commit
Add a phy-num property to the i.MX FEC emulator
authorJean-Christophe Dubois <jcd@tribudubois.net>
Fri, 3 Jul 2020 15:59:41 +0000 (16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:41 +0000 (16:59 +0100)
commit461c51ad4275f199d4b6ff400f39701541529e39
tree7ad8277951405336bda88c61ff8d2e6b77038430
parent4abf70a661a5df3886ac9d7c19c3617fa92b922a
Add a phy-num property to the i.MX FEC emulator

We need a solution to use an Ethernet PHY that is not the first device
on the MDIO bus (device 0 on MDIO bus).

As an example with the i.MX6UL the NXP SOC has 2 Ethernet devices but
only one MDIO bus on which the 2 related PHY are connected but at unique
addresses.

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: a1a5c0e139d1c763194b8020573dcb6025daeefa.1593296112.git.jcd@tribudubois.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/imx_fec.c
hw/net/trace-events
include/hw/net/imx_fec.h