Select Git revision
atheros.c
Forked from
Reform / reform-boundary-uboot
-
Alison Wang authored
In commit <a058052c> [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@nxp.com> Acked-by:
Stefan Agner <stefan@agner.ch> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
Alison Wang authoredIn commit <a058052c> [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@nxp.com> Acked-by:
Stefan Agner <stefan@agner.ch> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>