From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
To: Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
Jakub Kicinski <kuba@kernel.org>,
Jeremy Linton <jeremy.linton@arm.com>,
netdev@vger.kernel.org
Subject: [PATCH 0/9] Clause 45 PHY probing improvements
Date: Thu, 18 Jun 2020 14:45:00 +0100 [thread overview]
Message-ID: <20200618134500.GB1551@shell.armlinux.org.uk> (raw)
Hi,
Last time this series was posted back in May, Florian reviewed the
patches, which was the only feedback I received. I'm now posting
them without the RFC tag.
This series aims to improve the probing for Clause 45 PHYs.
The first four patches clean up get_phy_device() and called functions,
updating the kernel doc, adding information about the various error
return values.
We then provide better kerneldoc for get_phy_device(), describing what
is going on, and more importantly what the various return codes mean.
Patch 6 adds support for probing MMDs >= 8 to check for their presence.
Patch 7 changes get_phy_c45_ids() to only set the returned
devices_in_package if we successfully find a PHY.
Patch 8 splits the use of "devices in package" from the "mmds present".
Patch 9 expands our ID reading to cover the other MMDs.
drivers/net/phy/phy-c45.c | 4 +-
drivers/net/phy/phy_device.c | 159 ++++++++++++++++++++++++++++---------------
drivers/net/phy/phylink.c | 8 +--
include/linux/phy.h | 8 ++-
4 files changed, 117 insertions(+), 62 deletions(-)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
next reply other threads:[~2020-06-18 13:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-18 13:45 Russell King - ARM Linux admin [this message]
2020-06-18 13:45 ` [PATCH net-next 1/9] net: phy: clean up cortina workaround Russell King
2020-06-18 13:45 ` [PATCH net-next 2/9] net: phy: clean up PHY ID reading Russell King
2020-06-18 13:45 ` [PATCH net-next 3/9] net: phy: clean up get_phy_c45_ids() failure handling Russell King
2020-06-18 13:45 ` [PATCH net-next 4/9] net: phy: clean up get_phy_c22_id() invalid ID handling Russell King
2020-06-18 13:45 ` [PATCH net-next 5/9] net: phy: reword get_phy_device() kerneldoc Russell King
2020-06-18 13:45 ` [PATCH net-next 6/9] net: phy: add support for probing MMDs >= 8 for devices-in-package Russell King
2020-06-18 13:46 ` [PATCH net-next 7/9] net: phy: set devices_in_package only after validation Russell King
2020-06-18 13:46 ` [PATCH net-next 8/9] net: phy: split devices_in_package Russell King
2020-06-18 13:46 ` [PATCH net-next 9/9] net: phy: read MMD ID from all present MMDs Russell King
2020-06-20 3:17 ` [PATCH 0/9] Clause 45 PHY probing improvements David Miller
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=20200618134500.GB1551@shell.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=jeremy.linton@arm.com \
--cc=kuba@kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.