[PATCH net-next v2 0/2] dsa: lan9303: Move to PHYLINK

From: Jerry Ray
Date: Fri Dec 02 2022 - 14:18:02 EST


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

1) adds port_max_mtu api support.
2) Replace .adjust_link with .phylink_get_caps dsa api

At this point, I do not see anything this driver needs from the other
phylink APIs.

Signed-off-by: Jerry Ray <jerry.ray@xxxxxxxxxxxxx>

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