From: Gerhard Engleder <gerhard@engleder-embedded.com>
To: andrew@lunn.ch
Cc: netdev@vger.kernel.org, Gerhard Engleder <gerhard@engleder-embedded.com>
Subject: [PATCH net-next 0/2] Add Xilinx GMII2RGMII loopback support
Date: Wed, 18 Aug 2021 14:27:34 +0200 [thread overview]
Message-ID: <20210818122736.4877-1-gerhard@engleder-embedded.com> (raw)
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
next reply other threads:[~2021-08-18 12:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-18 12:27 Gerhard Engleder [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210818122736.4877-1-gerhard@engleder-embedded.com \
--to=gerhard@engleder-embedded.com \
--cc=andrew@lunn.ch \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).