Re: [PATCH net-next v3 2/2] net: pcs: configure xpcs 2.5G speed mode

2021-03-25 Thread Russell King - ARM Linux admin
On Thu, Mar 25, 2021 at 04:38:06PM +0800, Michael Sit Wei Hong wrote: > diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c > index 12a047d47dec..c95dfe4e5310 100644 > --- a/drivers/net/phy/phylink.c > +++ b/drivers/net/phy/phylink.c > @@ -290,6 +290,8 @@ static int

[PATCH net-next v3 2/2] net: pcs: configure xpcs 2.5G speed mode

2021-03-25 Thread Michael Sit Wei Hong
From: Voon Weifeng Besides setting 2.5G configuration, this patch will also disable automatic speed mode change. This is due to the 2.5G mode is using the same functionality as 1G mode except the clock rate is 2.5 times the original rate. Hence, auto-negotiation is disabled to make sure it will