Re: [PATCH] net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround

2017-12-26 Thread David Miller
From: Grygorii Strashko Date: Wed, 20 Dec 2017 18:45:10 -0600 > Under some circumstances driver will perform PHY reset in > ksz9031_read_status() to fix autoneg failure case (idle error count = > 0xFF). When this happens ksz9031 will not detect link status change any > more when connecting to Net

Re: [PATCH] net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround

2017-12-21 Thread Grygorii Strashko
On 12/21/2017 03:21 AM, Andrew Lunn wrote: > On Wed, Dec 20, 2017 at 06:45:10PM -0600, Grygorii Strashko wrote: >> Under some circumstances driver will perform PHY reset in >> ksz9031_read_status() to fix autoneg failure case (idle error count = >> 0xFF). When this happens ksz9031 will not detect

Re: [PATCH] net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround

2017-12-21 Thread Andrew Lunn
On Wed, Dec 20, 2017 at 06:45:10PM -0600, Grygorii Strashko wrote: > Under some circumstances driver will perform PHY reset in > ksz9031_read_status() to fix autoneg failure case (idle error count = > 0xFF). When this happens ksz9031 will not detect link status change any > more when connecting to

[PATCH] net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround

2017-12-20 Thread Grygorii Strashko
Under some circumstances driver will perform PHY reset in ksz9031_read_status() to fix autoneg failure case (idle error count = 0xFF). When this happens ksz9031 will not detect link status change any more when connecting to Netgear 1G switch (link can be recovered sometimes by restarting netdevice