mbox series

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

Message ID 20220606134553.2919693-1-alvin@pqrs.dk (mailing list archive)
Headers show
Series net: dsa: realtek: rtl8365mb: improve handling of PHY modes | expand

Message

Alvin Šipraga June 6, 2022, 1:45 p.m. UTC
From: Alvin Šipraga <alsi@bang-olufsen.dk>

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

Comments

Alvin Šipraga June 6, 2022, 1:57 p.m. UTC | #1
On Mon, Jun 06, 2022 at 03:45:48PM +0200, Alvin Šipraga wrote:
> From: Alvin Šipraga <alsi@bang-olufsen.dk>
> 
> 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.

Please ignore this version of the series, it has a build issue due to incorrect
splitting of patches between net and net-next.

I think I will re-send it for net instead as it makes things much easier for
everybody involved.

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