Re: [PATCH 2/3] phy: add generic function to support ksetting support

2016-04-15 Thread Philippe Reynes
On 15/04/16 04:50, Fugang Duan wrote: From: Philippe Reynes Sent: Friday, April 15, 2016 6:35 AM To: da...@davemloft.net; de...@googlers.com; f.faine...@gmail.com; Fugang Duan Cc: linux-ker...@vger.kernel.org; netdev@vger.kernel.org; Philippe Reynes Subject: [PATCH 2/3] phy: add generic

RE: [PATCH 2/3] phy: add generic function to support ksetting support

2016-04-14 Thread Fugang Duan
From: Philippe Reynes Sent: Friday, April 15, 2016 6:35 AM > To: da...@davemloft.net; de...@googlers.com; f.faine...@gmail.com; Fugang > Duan > Cc: linux-ker...@vger.kernel.org; netdev@vger.kernel.org; Philippe Reynes > > Subject: [PATCH 2/3] phy: add generic function to s

[PATCH 2/3] phy: add generic function to support ksetting support

2016-04-14 Thread Philippe Reynes
The old ethtool api (get_setting and set_setting) has generic phy functions phy_ethtool_sset and phy_ethtool_gset. To supprt the new ethtool api (get_link_ksettings and set_link_ksettings), we add generic phy function phy_ethtool_ksettings_get and phy_ethtool_ksettings_set. Signed-off-by: Philippe