Some phys come up with this bit set, clear it so that these phys can work. This has been observed with a ASIX compatible USB ethernet adapter. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/net/phy/phy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index ed185e1..58546f8 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -443,6 +443,9 @@ int genphy_restart_aneg(struct phy_device *phydev) /* Don't isolate the PHY if we're negotiating */ ctl &= ~(BMCR_ISOLATE); + /* Clear powerdown bit which eventually is set on some phys */ + ctl &= ~BMCR_PDOWN; + ctl = phy_write(phydev, MII_BMCR, ctl); if (ctl < 0) -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox