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

2016-02-23 Thread Joe Hershberger
On Fri, Feb 19, 2016 at 1:52 AM, Alison Wang wrote: > In commit [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 probl

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

2016-02-22 Thread Stefan Agner
On 2016-02-19 13:24, Fabio Estevam wrote: > On Fri, Feb 19, 2016 at 5:52 AM, Alison Wang wrote: >> In commit [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 o

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

2016-02-19 Thread Fabio Estevam
On Fri, Feb 19, 2016 at 5:52 AM, Alison Wang wrote: > In commit [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 probl

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

2016-02-19 Thread Alison Wang
In commit [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 c