lkml.org 
[lkml]   [2018]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next v3 0/5] net: phy: Reduce duplication
Date
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

\
 
 \ /
  Last update: 2018-03-02 01:09    [W:0.062 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site