diff options
author | David S. Miller <davem@davemloft.net> | 2018-11-08 15:02:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-08 15:02:06 -0800 |
commit | 80b6265c0f4c2bdafb73f09da9f278a8b3752928 (patch) | |
tree | 4ff3c142089c9966cb1bc30545c0808fed105f41 /include/net/sch_generic.h | |
parent | 5867b330140518ad73507f0be98d89636b91bf5f (diff) | |
parent | c8e977bab363006e5f5291ebf34ee5293cfb8515 (diff) | |
download | lwn-80b6265c0f4c2bdafb73f09da9f278a8b3752928.tar.gz lwn-80b6265c0f4c2bdafb73f09da9f278a8b3752928.zip |
Merge branch 'net-phy-improve-and-simplify-phylib-state-machine'
Heiner Kallweit says:
====================
net: phy: improve and simplify phylib state machine
This patch series is based on two axioms:
- During autoneg a PHY always reports the link being down
- Info in clause 22/45 registers doesn't allow to differentiate between
these two states:
1. Link is physically down
2. A link partner is connected and PHY is autonegotiating
In both cases "link up" and "aneg finished" bits aren't set.
One consequence is that having separate states PHY_NOLINK and PHY_AN
isn't needed.
By using these two axioms the state machine can be significantly
simplified.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
0 files changed, 0 insertions, 0 deletions