netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] dsa: lan9303: Move to PHYLINK
@ 2022-12-07 23:28 Jerry Ray
  2022-12-07 23:28 ` [PATCH net-next v4 1/2] dsa: lan9303: Whitespace Only Jerry Ray
  2022-12-07 23:28 ` [PATCH net-next v4 2/2] dsa: lan9303: Migrate to PHYLINK Jerry Ray
  0 siblings, 2 replies; 9+ messages in thread
From: Jerry Ray @ 2022-12-07 23:28 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, netdev, linux-kernel,
	linux, Jerry Ray

This patch series moves the lan9303 driver to use the phylink
api away from phylib.

Note a preparatory patch addresses whitespace issues to make the
dsa_switch_ops code consistent.

Note the .port_max_mtu api patch is now removed from this series.  It
was unrelated and has little to no value if the api is never being
called for the cpu port.

Migrating to phylink means removing the .adjust_link api. The
functionality from the adjust_link is moved to the phylink_mac_link_up
api.  The code being removed only affected the cpu port.

---
v3-> v4:
  - Addressed whitespace issues as a separate patch.
  - Removed port_max_mtu api patch as it is unrelated to phylink migration.
  - Reworked the implementation to preserve the adjust_link functionality
    by including it in the phylink_mac_link_up api.

v2-> v3:
  Added back in disabling Turbo Mode on the CPU MII interface.
  Removed the unnecessary clearing of the phyvsupported interfaces.
v1-> v2:
  corrected the reported mtu size, removing ETH_HLEN and ETH_FCS_LEN

 drivers/net/dsa/lan9303-core.c | 93 ++++++++++++--------
 1 file changed, 56 insertions(+), 37 deletions(-)


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

end of thread, other threads:[~2022-12-09 22:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-07 23:28 [PATCH net-next v4 0/2] dsa: lan9303: Move to PHYLINK Jerry Ray
2022-12-07 23:28 ` [PATCH net-next v4 1/2] dsa: lan9303: Whitespace Only Jerry Ray
2022-12-08 17:11   ` Vladimir Oltean
2022-12-09 19:25     ` Jerry.Ray
2022-12-09 22:13       ` Vladimir Oltean
2022-12-07 23:28 ` [PATCH net-next v4 2/2] dsa: lan9303: Migrate to PHYLINK Jerry Ray
2022-12-08 17:21   ` Vladimir Oltean
2022-12-09 18:00     ` Jerry.Ray
2022-12-09 18:07       ` Vladimir Oltean

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