diff options
| author | Andrew Lunn <[email protected]> | 2018-09-29 23:04:12 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-10-01 22:55:36 -0700 |
| commit | edc7ccbbcf32b97c7d26cd556f364eb4f22c4285 (patch) | |
| tree | 609b07d3974ae9fd89fd660e79461eabae20e0b0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | c4fabb8b3c0d724eb93dabaf346b0dd8a8be7118 (diff) | |
net: phy: Add helper to convert MII ADV register to a linkmode
The phy_mii_ioctl can be used to write a value into the MII_ADVERTISE
register in the PHY. Since this changes the state of the PHY, we need
to make the same change to phydev->advertising. Add a helper which can
convert the register value to a linkmode.
Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Maxime Chevallier <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions