From: David S. Miller Date: Thu, 8 Nov 2018 23:02:06 +0000 (-0800) Subject: Merge branch 'net-phy-improve-and-simplify-phylib-state-machine' X-Git-Tag: v5.0-rc1~129^2~366 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=80b6265c0f4c2bdafb73f09da9f278a8b3752928;p=linux.git 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 --- 80b6265c0f4c2bdafb73f09da9f278a8b3752928