Re: [RFC/RFT PATCH net-next 0/4] KSZ DSA driver: xMII speed adjustment and partial reg_fields conversion

From: Arun.Ramadoss
Date: Thu Mar 16 2023 - 23:57:55 EST


Hi Vladimir,
On Thu, 2023-03-16 at 18:12 +0200, Vladimir Oltean wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
>
>
> ABSOLUTELY NO TESTING WAS DONE. I don't have the hardware.
>
> THIS BREAKS EVERYTHING EXCEPT FOR KSZ8795. Any testers should test on
> that if possible (due to both patches 2/4, and 3/4).

I don't have KSZ87xx and KSZ88xx series of boards. I can able to test
only on KSZ9477 and LAN937x series of boards. I will wait for next
version of patch to do sanity test on this KSZ9477 and LAN937x series
of boards.

>
> Vladimir Oltean (4):
> net: dsa: microchip: add an enum for regmap widths
> net: dsa: microchip: partial conversion to regfields API for
> KSZ8795
> (WIP)
> net: dsa: microchip: allow setting xMII port speed/duplex on
> KSZ8765/KSZ8794/KSZ8795
> net: dsa: microchip: remove unused dev->dev_ops-
> >phylink_mac_config()
>
> drivers/net/dsa/microchip/ksz8795.c | 45 ++--
> drivers/net/dsa/microchip/ksz8863_smi.c | 11 +-
> drivers/net/dsa/microchip/ksz9477.c | 24 +--
> drivers/net/dsa/microchip/ksz9477_i2c.c | 11 +-
> drivers/net/dsa/microchip/ksz_common.c | 256 +++++++++++++------
> ----
> drivers/net/dsa/microchip/ksz_common.h | 110 +++++++---
> drivers/net/dsa/microchip/ksz_spi.c | 6 +-
> drivers/net/dsa/microchip/lan937x_main.c | 8 +-
> 8 files changed, 299 insertions(+), 172 deletions(-)
>
> --
> 2.34.1
>