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

From: Jie Luo
Date: Sat Oct 16 2021 - 05:53:37 EST



On 10/15/2021 4:01 PM, Russell King (Oracle) wrote:
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"
will correct it in the next patch set, thanks.