commit | 323fe43cf9aef79159ba8937218a3f076bf505af | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Mar 23 14:45:59 2023 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 24 09:18:19 2023 +0000 |
tree | e23456fdd723c69079255bc6eb8ce7987406e8b9 | |
parent | c85bd3dacc80b99ae68c7082f8e2edd8b9f83c39 [diff] |
net: phy: Improved PHY error reporting in state machine When the PHY library calls phy_error() something bad has happened, and we halt the PHY state machine. Calling phy_error() from the main state machine however is not precise enough to know whether the issue is reading the link status or starting auto-negotiation. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>