diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2019-02-11 17:25:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 03:17:53 +0300 |
commit | a4eaed9f9a895b16bb2c54e0ff6b3c99404fec92 (patch) | |
tree | 013f32d19cbe10b62f226ac6268be347b3871087 /drivers/hwmon/mcp3021.c | |
parent | d2d37444e5603b9f6121905fab7d8e859ed0c59d (diff) | |
download | linux-a4eaed9f9a895b16bb2c54e0ff6b3c99404fec92.tar.xz |
net: phy: Mask-out non-compatible modes when setting the max-speed
When setting a PHY's max speed using either the max-speed DT property
or ethtool, we should mask-out all non-compatible modes according to the
settings table, instead of just the 10/100BASET modes.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Suggested-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/mcp3021.c')
0 files changed, 0 insertions, 0 deletions