netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/5] net: phy: Reduce duplication
@ 2018-03-02  0:08 Florian Fainelli
  2018-03-02  0:08 ` [PATCH net-next v3 1/5] net: phy: aquantia: Utilize genphy_c45_aneg_done() Florian Fainelli
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Florian Fainelli @ 2018-03-02  0:08 UTC (permalink / raw)
  To: netdev
  Cc: Florian Fainelli, Andrew Lunn, Russell King, open list,
	moritz.fischer

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

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

end of thread, other threads:[~2018-03-02  2:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-02  0:08 [PATCH net-next v3 0/5] net: phy: Reduce duplication Florian Fainelli
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

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).