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 &= ~MDIO_CTRL1_SPEEDSEL;
> > + /* PMA/PMD type sel
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. */
> + ctrl2 &= ~(MDIO_PMA
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
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 ++--
include/linux/phy.h | 12 +