diff options
| author | Andrew Lunn <[email protected]> | 2018-09-12 01:53:11 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-09-12 20:24:20 -0700 |
| commit | 58056c1e1b0e4951f3486bd552d8278194f8b84b (patch) | |
| tree | a3aa813a842b5ad17c0639d92f0e1eede4161799 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 15d8daf7bc2d1415f14f3cc3378226fc7d836156 (diff) | |
net: ethernet: Use phy_set_max_speed() to limit advertised speed
Many Ethernet MAC drivers want to limit the PHY to only advertise a
maximum speed of 100Mbs or 1Gbps. Rather than using a mask, make use
of the helper function phy_set_max_speed().
Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions