[PATCH net-next 0/5] net: dsa: realtek: rtl8365mb: improve handling of PHY modes

From: Alvin Šipraga
Date: Mon Jun 06 2022 - 09:46:19 EST


From: Alvin Šipraga <alsi@xxxxxxxxxxxxxxx>

This series introduces some minor cleanup of the driver and improves the
handling of PHY interface modes to break the assumption that CPU ports
are always over an external interface, and the assumption that user
ports are always using an internal PHY.

Alvin Šipraga (5):
net: dsa: realtek: rtl8365mb: rename macro RTL8367RB -> RTL8367RB_VB
net: dsa: realtek: rtl8365mb: remove port_mask private data member
net: dsa: realtek: rtl8365mb: correct the max number of ports
net: dsa: realtek: rtl8365mb: remove learn_limit_max private data
member
net: dsa: realtek: rtl8365mb: handle PHY interface modes correctly

drivers/net/dsa/realtek/rtl8365mb.c | 268 ++++++++++++++++++++--------
1 file changed, 189 insertions(+), 79 deletions(-)

--
2.36.0