netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: add phylink support for PCS
@ 2020-03-14 10:27 Russell King - ARM Linux admin
  2020-03-14 10:28 ` [PATCH net-next 1/5] net: mdiobus: add APIs for modifying a MDIO device register Russell King
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Russell King - ARM Linux admin @ 2020-03-14 10:27 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, Heiner Kallweit; +Cc: David S. Miller, netdev

Depends on "net: mii clause 37 helpers".

This series adds support for IEEE 802.3 register set compliant PCS
for phylink.  In order to do this, we:

1. add accessors for modifying a MDIO device register, and use them in
   phylib, rather than duplicating the code from phylib.
2. add support for decoding the advertisement from clause 22 compatible
   register sets for clause 37 advertisements and SGMII advertisements.
3. add support for clause 45 register sets for 10GBASE-R PCS.

These have been tested on the LX2160A Clearfog-CX platform.

This is a re-post of the series previously sent, but with the first two
patches separated out; the conclusion of the discussion with Vladimir
seemed to be that there was no issue with the patches themselves.

 drivers/net/phy/mdio_bus.c |  55 +++++++++++
 drivers/net/phy/phy-core.c |  31 ------
 drivers/net/phy/phylink.c  | 236 +++++++++++++++++++++++++++++++++++++++++++++
 include/linux/mdio.h       |   4 +
 include/linux/phy.h        |  19 ++++
 include/linux/phylink.h    |   8 ++
 include/uapi/linux/mii.h   |   5 +
 7 files changed, 327 insertions(+), 31 deletions(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up

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

end of thread, other threads:[~2020-03-15  1:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-14 10:27 [PATCH net-next 0/3] net: add phylink support for PCS Russell King - ARM Linux admin
2020-03-14 10:28 ` [PATCH net-next 1/5] net: mdiobus: add APIs for modifying a MDIO device register Russell King
2020-03-14 10:28 ` [PATCH net-next 2/5] net: phylink: pcs: add 802.3 clause 22 helpers Russell King
2020-03-14 10:28 ` [PATCH net-next 3/5] net: phylink: pcs: add 802.3 clause 45 helpers Russell King
2020-03-14 10:28 ` [PATCH net-next 4/5] net: phylink: rename 'ops' to 'mac_ops' Russell King
2020-03-14 10:29   ` Russell King - ARM Linux admin
2020-03-14 10:28 ` [PATCH net-next 5/5] net: phylink: add separate pcs operations structure Russell King
2020-03-14 10:29 ` [PATCH REPOST2 net-next 0/3] net: add phylink support for PCS Russell King - ARM Linux admin
2020-03-14 10:31 ` [PATCH " Russell King - ARM Linux admin

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