Re: [PATCH 7/9] net: pcs: add driver for MediaTek SGMII PCS

From: Andrew Lunn
Date: Fri Feb 03 2023 - 10:24:34 EST


On Fri, Feb 03, 2023 at 05:00:14PM +0200, Vladimir Oltean wrote:
> On Fri, Feb 03, 2023 at 03:14:29PM +0100, Andrew Lunn wrote:
> > > index 6e7e6c346a3e..cf65646656e9 100644
> > > --- a/drivers/net/pcs/Kconfig
> > > +++ b/drivers/net/pcs/Kconfig
> > > @@ -18,6 +18,12 @@ config PCS_LYNX
> > > This module provides helpers to phylink for managing the Lynx PCS
> > > which is part of the Layerscape and QorIQ Ethernet SERDES.
> > >
> > > +config PCS_MTK
> > > + tristate
> > > + help
> > > + This module provides helpers to phylink for managing the LynxI PCS
> > > + which is part of MediaTek's SoC and Ethernet switch ICs.
> >
> > You should probably have a more specific name, for when MTK produces a
> > new PCS which is completely different.
> >
> > Also, how similar is this LynxI PCS to the Lynx PCS?
>
> Probably not very similar. Here's the Mediatek 32-bit memory map,
> translated by me to a 16-bit MDIO memory map:

Thanks. Given the similarities in the name, i had to ask...

Andrew