Re: [PATCH 1/5] net: phy: add 802.3 clause 45 support to phylib

2017-06-02 Thread Russell King - ARM Linux
On Thu, Jun 01, 2017 at 10:15:28AM -0700, Florian Fainelli wrote: > On 06/01/2017 03:26 AM, Russell King wrote: > > Add generic helpers for 802.3 clause 45 PHYs for >= 10Gbps support. > > > > Signed-off-by: Russell King > > --- > > > + ctrl1 &=

Re: [PATCH 1/5] net: phy: add 802.3 clause 45 support to phylib

2017-06-01 Thread Florian Fainelli
On 06/01/2017 03:26 AM, Russell King wrote: > Add generic helpers for 802.3 clause 45 PHYs for >= 10Gbps support. > > Signed-off-by: Russell King > --- > + ctrl1 &= ~MDIO_CTRL1_SPEEDSEL; > + /* PMA/PMD type selection is 1.7.5:0 not 1.7.3:0. See 45.2.1.6.1.

Re: [PATCH 1/5] net: phy: add 802.3 clause 45 support to phylib

2017-06-01 Thread Andrew Lunn
On Thu, Jun 01, 2017 at 11:26:31AM +0100, Russell King wrote: > Add generic helpers for 802.3 clause 45 PHYs for >= 10Gbps support. > > Signed-off-by: Russell King Reviewed-by: Andrew Lunn Andrew

[PATCH 1/5] net: phy: add 802.3 clause 45 support to phylib

2017-06-01 Thread Russell King
Add generic helpers for 802.3 clause 45 PHYs for >= 10Gbps support. Signed-off-by: Russell King --- drivers/net/phy/Makefile | 2 +- drivers/net/phy/phy-c45.c| 231 +++ drivers/net/phy/phy_device.c | 20 ++--