Re: [PATCH net] net: phy: consider AN_RESTART status when reading link status

2019-08-13 Thread Jakub Kicinski
On Mon, 12 Aug 2019 21:20:02 +0200, Heiner Kallweit wrote: > After configuring and restarting aneg we immediately try to read the > link status. On some systems the PHY may not yet have cleared the > "aneg complete" and "link up" bits, resulting in a false link-up > signal. See [0] for a report. >

Re: [PATCH net] net: phy: consider AN_RESTART status when reading link status

2019-08-12 Thread Andrew Lunn
On Mon, Aug 12, 2019 at 09:20:02PM +0200, Heiner Kallweit wrote: > After configuring and restarting aneg we immediately try to read the > link status. On some systems the PHY may not yet have cleared the > "aneg complete" and "link up" bits, resulting in a false link-up > signal. See [0] for a repo

[PATCH net] net: phy: consider AN_RESTART status when reading link status

2019-08-12 Thread Heiner Kallweit
After configuring and restarting aneg we immediately try to read the link status. On some systems the PHY may not yet have cleared the "aneg complete" and "link up" bits, resulting in a false link-up signal. See [0] for a report. Clause 22 and 45 both require the PHY to keep the AN_RESTART bit set