On Tue, Nov 26, 2019 at 04:04:05PM +0200, Adrian Bunk wrote:
From: Max Uvarov muvarov@gmail.com
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@gmail.com Cc: Heiner Kallweit hkallweit1@gmail.com Cc: Florian Fainelli f.fainelli@gmail.com Cc: Andrew Lunn andrew@lunn.ch Signed-off-by: David S. Miller davem@davemloft.net [ adapted for kernels without phy_modify_mmd ] Signed-off-by: Adrian Bunk bunk@kernel.org
- already in 5.3
- applies and builds against 4.14 and 4.19
- tested with 4.14
Looks like Greg took these in, thanks!