diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-07-21 14:03:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-22 01:46:50 +0300 |
commit | 1ceb7ee7a6e7a8195fd1fbc3c7d554305bc26607 (patch) | |
tree | b383ebe7e1b2328e01e65991f2baaea4183a0e2b /Kbuild | |
parent | ccbc6dacacb45df8079029d965a6ffdb89d6078e (diff) | |
download | linux-1ceb7ee7a6e7a8195fd1fbc3c7d554305bc26607.tar.xz |
net: phylink: update ethtool reporting for fixed-link modes
Comparing the ethtool output from phylink and non-phylink fixed-link
setups shows that we have some differences:
- The "auto-negotiation" fields are different; phylink reports these
as "No", non-phylink reports these as "Yes" for the supported and
advertising masks.
- The link partner advertisement is set to the link speed with non-
phylink, but phylink leaves this unset, causing all link partner
fields to be omitted.
The phylink ethtool output also disagrees with the software emulated
PHY dump via the MII registers.
Update the phylink fixed-link parsing code so that we better reflect
the behaviour of the non-phylink code that this facility replaces, and
bring the ethtool interface more into line with the report from via the
MII interface.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions