diff options
author | David S. Miller <[email protected]> | 2020-03-23 21:09:47 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-23 21:09:47 -0700 |
commit | 4e8386fcde1ae07f836907b15175f2e205d8df4b (patch) | |
tree | c50164b243112f3e3b8cc79aca4786305a9a18ed /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | f4d3e61b7728e1006cabf337732e43c6a743b070 (diff) | |
parent | 1ec32eb68562637ce2b83eebb6ca39a6b39a3a0b (diff) |
Merge branch 'phy_check_downshift'
Heiner Kallweit says:
====================
net: phy: add and use phy_check_downshift
So far PHY drivers have to check whether a downshift occurred to be
able to notify the user. To make life of drivers authors a little bit
easier move the downshift notification to phylib. phy_check_downshift()
compares the highest mutually advertised speed with the actual value
of phydev->speed (typically read by the PHY driver from a
vendor-specific register) to detect a downshift.
v2: Add downshift hint to phy_print_status().
====================
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions