net: phy: dp83867: increase SGMII autoneg timer duration
authorMax Uvarov <muvarov@gmail.com>
Tue, 28 May 2019 10:00:50 +0000 (13:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 May 2019 21:28:48 +0000 (14:28 -0700)
commit1a97a477e666cbdededab93bd3754e508f0c09d7
tree1b866e6ee119f1d2703e493a89e0334bce3dc469
parent333061b924539c0de081339643f45514f5f1c1e6
net: phy: dp83867: increase SGMII autoneg timer duration

After reset SGMII Autoneg timer is set to 2us (bits 6 and 5 are 01).
That is not enough to finalize autonegatiation on some devices.
Increase this timer duration to maximum supported 16ms.

Signed-off-by: Max Uvarov <muvarov@gmail.com>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83867.c