Re: [PATCH net-next v1 5/5] net: dsa: microchip: add support for side MDIO interface in LAN937x

From: Oleksij Rempel
Date: Tue Oct 29 2024 - 01:16:24 EST


Hi Arun,

On Tue, Oct 29, 2024 at 03:39:33AM +0000, Arun.Ramadoss@xxxxxxxxxxxxx wrote:
> Hi Oleksij,
>
> On Sat, 2024-10-26 at 08:35 +0200, Oleksij Rempel wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you
> > know the content is safe
> >
> > diff --git a/drivers/net/dsa/microchip/lan937x_main.c
> > b/drivers/net/dsa/microchip/lan937x_main.c
> > index 824d9309a3d35..7dfd21d0d2843 100644
> > --- a/drivers/net/dsa/microchip/lan937x_main.c
> > +++ b/drivers/net/dsa/microchip/lan937x_main.c
> > @@ -18,6 +18,47 @@
> > #include "ksz9477.h"
> > #include "lan937x.h"
> >
> > +static const u8 lan9370_phy_addr[] = {
> > + [0] = 2, /* Port 1, T1 AFE0 */
> > + [1] = 3, /* Port 2, T1 AFE1 */
> > + [2] = 5, /* Port 3, T1 AFE3 */
> > + [3] = 6, /* Port 4, T1 AFE4 */
> > + [4] = U8_MAX, /* Port 5, RGMII 2 */
> > +};
> > +
>
> Is it intentional to not to add support for lan9371 variant switch?

I forgot about this one, will add it too.

Regards,
Oleksij
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |