The Xilinx GMII2RGMII driver overrides PHY driver functions in order to
configure the device according to the link speed of the PHY attached to it.
This is implemented for a normal link but not for loopback.
Andrew told me to use phy_loopback and this changes make phy_loopback work
in combination with Xilinx GMII2RGMII.
Gerhard Engleder (2):
net: phy: Support set_loopback override
net: phy: gmii2rgmii: Support PHY loopback
drivers/net/phy/phy_device.c | 9 +++---
drivers/net/phy/xilinx_gmii2rgmii.c | 46 ++++++++++++++++++++++-------
2 files changed, 39 insertions(+), 16 deletions(-)
--
2.20.1