Re: [PATCH net-next v2 02/10] net: phy: Mask-out non-compatible modes when setting the max-speed

2019-02-07 Thread Andrew Lunn
On Thu, Feb 07, 2019 at 10:49:31AM +0100, Maxime Chevallier wrote: > 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

[PATCH net-next v2 02/10] net: phy: Mask-out non-compatible modes when setting the max-speed

2019-02-07 Thread Maxime Chevallier
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 Suggested-by: Russell King --- drivers/net/phy/phy-core.c |