From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: Florian Fainelli <f.fainelli@gmail.com>,
Andrew Lunn <andrew@lunn.ch>, Russell King <rmk@armlinux.org.uk>,
linux-kernel@vger.kernel.org (open list),
moritz.fischer@ettus.com
Subject: [PATCH net-next v3 0/5] net: phy: Reduce duplication
Date: Thu, 1 Mar 2018 16:08:54 -0800 [thread overview]
Message-ID: <20180302000859.17309-1-f.fainelli@gmail.com> (raw)
Hi all,
This patch series reduces the duplication among 10G PHY drivers that just
essentially stub most functions, but do that while replicating what the existing
generic functions do.
Changes in v3:
- removed unused "reg" variable in teranetics.c
- fixed subject for patch 5 since we actually use gen10g_no_soft_reset()
Changes in v2:
- rename gen10g_soft_reset() to gen10g_no_soft_reset() to better illustrate
what it does (or does not)
- removed stray comment in marvell10g.c
Florian Fainelli (5):
net: phy: aquantia: Utilize genphy_c45_aneg_done()
net: phy: Export gen10g_* functions
net: phy: teranetics: Utilize generic functions
net: phy: cortina: Utilize generic functions
net: phy: marvell10g: Utilize gen10g_no_soft_reset()
drivers/net/phy/aquantia.c | 20 ++++++--------------
drivers/net/phy/cortina.c | 18 +++---------------
drivers/net/phy/marvell10g.c | 11 +----------
drivers/net/phy/phy-c45.c | 20 +++++++++++++-------
drivers/net/phy/teranetics.c | 32 +++++---------------------------
include/linux/phy.h | 8 ++++++++
6 files changed, 36 insertions(+), 73 deletions(-)
--
2.14.1
next reply other threads:[~2018-03-02 0:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-02 0:08 Florian Fainelli [this message]
2018-03-02 0:08 ` [PATCH net-next v3 1/5] net: phy: aquantia: Utilize genphy_c45_aneg_done() Florian Fainelli
2018-03-02 0:08 ` [PATCH net-next v3 2/5] net: phy: Export gen10g_* functions Florian Fainelli
2018-03-02 0:08 ` [PATCH net-next v3 3/5] net: phy: teranetics: Utilize generic functions Florian Fainelli
2018-03-02 0:08 ` [PATCH net-next v3 4/5] net: phy: cortina: " Florian Fainelli
2018-03-02 0:08 ` [PATCH net-next v3 5/5] net: phy: marvell10g: Utilize gen10g_no_soft_reset() Florian Fainelli
2018-03-02 2:24 ` [PATCH net-next v3 0/5] net: phy: Reduce duplication 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=20180302000859.17309-1-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=moritz.fischer@ettus.com \
--cc=netdev@vger.kernel.org \
--cc=rmk@armlinux.org.uk \
/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).