From: Heiner Kallweit <hkallweit1@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: [PATCH net-next 0/3] net: phy: add and use new function genphy_read_abilities
Date: Wed, 27 Mar 2019 21:57:10 +0100 [thread overview]
Message-ID: <3d087449-a68f-8233-e97f-29038f8de29a@gmail.com> (raw)
Similar to genphy_c45_pma_read_abilities() add a function to dynamically
detect the abilities of a Clause 22 PHY. This is mainly copied from
genphy_config_init(). Main benefit is that PHY drivers no longer have
to specify whether they support GBit or not (provided they keep to
the C22 standard).
Heiner Kallweit (3):
net: phy: add genphy_read_abilities
net: phy: use genphy_read_abilities in genphy driver
net: phy: realtek: use genphy_read_abilities
drivers/net/phy/phy_device.c | 51 ++++++++++++++++++++++++++++++++++--
drivers/net/phy/realtek.c | 36 +++++++++----------------
include/linux/phy.h | 1 +
3 files changed, 62 insertions(+), 26 deletions(-)
--
2.21.0
next reply other threads:[~2019-03-27 20:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-27 20:57 Heiner Kallweit [this message]
2019-03-27 20:58 ` [PATCH net-next 1/3] net: phy: add genphy_read_abilities Heiner Kallweit
2019-03-27 20:59 ` [PATCH net-next 2/3] net: phy: use genphy_read_abilities in genphy driver Heiner Kallweit
2019-03-27 21:00 ` [PATCH net-next 3/3] net: phy: realtek: use genphy_read_abilities Heiner Kallweit
2019-03-29 20:26 ` [PATCH net-next 0/3] net: phy: add and use new function genphy_read_abilities David Miller
2019-04-02 20:10 ` 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=3d087449-a68f-8233-e97f-29038f8de29a@gmail.com \
--to=hkallweit1@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--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).