The sja1105 is reducing its direct interaction with the XPCS.
The changes presented here are an older simplification idea, broken out
of a previous patch set to allow for more thorough review.
v2 submitted at:
https://lore.kernel.org/netdev/20251118190530.580267-2-vladimir.oltean@nxp.com/
v1 submitted at:
https://lore.kernel.org/netdev/20241212172026.ivjkhm7s2qt6ejyz@skbuf/
The change log is consolidated here rather than in individual patches.
Change log:
v2->v3:
- single patch broken up into separate changes for preliminary phylink
refactoring, phylink core functionality, and first use in sja1105
- new patch to re-merge sja1105_set_port_speed() and
sja1105_set_port_config()
v1->v2:
- check in phylink_replay_link_end() whether phylink_replay_link_begin()
was previously called.
- fix the handling of the new pl->force_major_config in phylink_resolve(),
to not depend on "bool mac_config". Reimplement it closer to a
forceful behaviour.
Vladimir Oltean (4):
net: phylink: simplify phylink_resolve() -> phylink_major_config()
path
net: phylink: introduce helpers for replaying link callbacks
net: dsa: sja1105: let phylink help with the replay of link callbacks
net: dsa: sja1105: re-merge sja1105_set_port_speed() and
sja1105_set_port_config()
drivers/net/dsa/sja1105/sja1105_main.c | 84 ++++----------------------
drivers/net/phy/phylink.c | 75 +++++++++++++++++++----
include/linux/phylink.h | 5 ++
3 files changed, 80 insertions(+), 84 deletions(-)
--
2.34.1