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

Message ID 20221202191749.27437-1-jerry.ray@microchip.com
Headers
Series dsa: lan9303: Move to PHYLINK |

Message

Jerry Ray Dec. 2, 2022, 7:17 p.m. UTC
  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@microchip.com>

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