On Tue, Nov 26, 2019 at 04:04:05PM +0200, Adrian Bunk wrote:
From: Max Uvarov <muvarov@xxxxxxxxx> Commit 333061b924539c0de081339643f45514f5f1c1e6 upstream. For supporting 10Mps speed in SGMII mode DP83867_10M_SGMII_RATE_ADAPT bit of DP83867_10M_SGMII_CFG register has to be cleared by software. That does not affect speeds 100 and 1000 so can be done on init. Signed-off-by: Max Uvarov <muvarov@xxxxxxxxx> Cc: Heiner Kallweit <hkallweit1@xxxxxxxxx> Cc: Florian Fainelli <f.fainelli@xxxxxxxxx> Cc: Andrew Lunn <andrew@xxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> [ adapted for kernels without phy_modify_mmd ] Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> --- - already in 5.3 - applies and builds against 4.14 and 4.19 - tested with 4.14
Looks like Greg took these in, thanks! -- Thanks, Sasha