[U-Boot] [PATCH] net: phy: atheros: Fix problem with phy_reset() clearing BMCR

Joe Hershberger joe.hershberger at gmail.com
Tue Feb 23 20:13:19 CET 2016


On Fri, Feb 19, 2016 at 1:52 AM, Alison Wang <b18965 at freescale.com> wrote:
> In commit <a058052c358c> [net: phy: do not read configuration register on
> reset], phy_reset() will clear the BMCR register. Bit 12(AUTO_NEGOTIATION)
> is cleared too. It causes auto-negotiation timeout error on Atheros's
> PHY AR8033.
>
> To fix this problem, genphy_config_aneg() and genphy_restart_aneg()
> needs to be called in ar8035_config() to enable and restart
> auto-negotiation.
>
> Signed-off-by: Alison Wang <alison.wang at nxp.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list