mbox series

[0/2,v2,net-next] net: phy: add and use further MMD accessors

Message ID e0e26b49-8e77-98f5-01df-6b7c7938ea41@gmail.com
Headers show
Series net: phy: add and use further MMD accessors | expand

Message

Heiner Kallweit Feb. 6, 2019, 6:35 a.m. UTC
Add MMD accessors for modifying MMD registers and clearing / setting
bits in MMD registers. Use these accessors in PHY drivers and phylib.

v2:
- fix SoB in patch 2

Nikita Yushchenko (1):
  net: phy: provide full set of accessor functions to MMD registers

Heiner Kallweit (1):
  net: phy: make use of new MMD accessors

 drivers/net/phy/dp83867.c    |  47 +++++-------
 drivers/net/phy/dp83tc811.c  |  15 ++--
 drivers/net/phy/marvell10g.c |  38 +++-------
 drivers/net/phy/phy-c45.c    |  21 ++----
 drivers/net/phy/phy-core.c   | 116 ++++++++++++++++++++++++++----
 drivers/net/phy/phy.c        |  11 +--
 include/linux/phy.h          | 134 +++++++++++++++++++++++++++++------
 7 files changed, 252 insertions(+), 130 deletions(-)