Re: [PATCH v2 12/13] net: phy: adjust qca8081 master/slave seed value if link down

From: Russell King (Oracle)
Date: Fri Oct 15 2021 - 04:03:48 EST


On Fri, Oct 15, 2021 at 03:35:04PM +0800, Luo Jie wrote:
> diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
> index 4d283c0c828c..6c5dc4eed752 100644
> --- a/drivers/net/phy/at803x.c
> +++ b/drivers/net/phy/at803x.c
> @@ -1556,6 +1556,22 @@ static int qca808x_read_status(struct phy_device *phydev)
> else
> phydev->interface = PHY_INTERFACE_MODE_SMII;
>
> + /* generate seed as a lower random value to make PHY linked as SLAVE easily,
> + * excpet for master/slave configuration fault detected.

"except"

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!