netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Add Xilinx GMII2RGMII loopback support
@ 2021-08-18 12:27 Gerhard Engleder
  2021-08-18 12:27 ` [PATCH net-next 1/2] net: phy: Support set_loopback override Gerhard Engleder
  2021-08-18 12:27 ` [PATCH net-next 2/2] net: phy: gmii2rgmii: Support PHY loopback Gerhard Engleder
  0 siblings, 2 replies; 6+ messages in thread
From: Gerhard Engleder @ 2021-08-18 12:27 UTC (permalink / raw)
  To: andrew; +Cc: netdev, Gerhard Engleder

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-18 21:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-18 12:27 [PATCH net-next 0/2] Add Xilinx GMII2RGMII loopback support Gerhard Engleder
2021-08-18 12:27 ` [PATCH net-next 1/2] net: phy: Support set_loopback override Gerhard Engleder
2021-08-18 15:03   ` Andrew Lunn
2021-08-18 20:11     ` Gerhard Engleder
2021-08-18 21:20       ` Andrew Lunn
2021-08-18 12:27 ` [PATCH net-next 2/2] net: phy: gmii2rgmii: Support PHY loopback Gerhard Engleder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).