Re: [PATCH net-next 2/2] r8169: use the generic EEE management functions

2019-08-15 Thread Heiner Kallweit
On 15.08.2019 17:43, Florian Fainelli wrote: > > > On 8/15/2019 6:02 AM, Heiner Kallweit wrote: >> On 15.08.2019 14:35, Andrew Lunn wrote: >>> On Thu, Aug 15, 2019 at 11:47:33AM +0200, Heiner Kallweit wrote: Now that the Realtek PHY driver maps the vendor-specific EEE registers to the s

Re: [PATCH net-next 2/2] r8169: use the generic EEE management functions

2019-08-15 Thread Florian Fainelli
On 8/15/2019 6:02 AM, Heiner Kallweit wrote: > On 15.08.2019 14:35, Andrew Lunn wrote: >> On Thu, Aug 15, 2019 at 11:47:33AM +0200, Heiner Kallweit wrote: >>> Now that the Realtek PHY driver maps the vendor-specific EEE registers >>> to the standard MMD registers, we can remove all special handl

Re: [PATCH net-next 2/2] r8169: use the generic EEE management functions

2019-08-15 Thread Heiner Kallweit
On 15.08.2019 14:35, Andrew Lunn wrote: > On Thu, Aug 15, 2019 at 11:47:33AM +0200, Heiner Kallweit wrote: >> Now that the Realtek PHY driver maps the vendor-specific EEE registers >> to the standard MMD registers, we can remove all special handling and >> use the generic functions phy_ethtool_get/

Re: [PATCH net-next 2/2] r8169: use the generic EEE management functions

2019-08-15 Thread Andrew Lunn
On Thu, Aug 15, 2019 at 11:47:33AM +0200, Heiner Kallweit wrote: > Now that the Realtek PHY driver maps the vendor-specific EEE registers > to the standard MMD registers, we can remove all special handling and > use the generic functions phy_ethtool_get/set_eee. Hi Heiner I think you should also

[PATCH net-next 2/2] r8169: use the generic EEE management functions

2019-08-15 Thread Heiner Kallweit
Now that the Realtek PHY driver maps the vendor-specific EEE registers to the standard MMD registers, we can remove all special handling and use the generic functions phy_ethtool_get/set_eee. Signed-off-by: Heiner Kallweit --- drivers/net/ethernet/realtek/r8169_main.c | 172 +++--