Re: [PATCH net-next 3/3] net: phy: let phy_speed_down/up support speeds >1Gbps

2019-08-12 Thread Andrew Lunn
On Mon, Aug 12, 2019 at 11:20:51PM +0200, Heiner Kallweit wrote: > So far phy_speed_down/up can be used up to 1Gbps only. Remove this > restriction by using new helper __phy_speed_down. New member adv_old > in struct phy_device is used by phy_speed_up to restore the advertised > modes before callin

[PATCH net-next 3/3] net: phy: let phy_speed_down/up support speeds >1Gbps

2019-08-12 Thread Heiner Kallweit
So far phy_speed_down/up can be used up to 1Gbps only. Remove this restriction by using new helper __phy_speed_down. New member adv_old in struct phy_device is used by phy_speed_up to restore the advertised modes before calling phy_speed_down. Don't simply advertise what is supported because a user