Skip to content
Snippets Groups Projects
Commit 53b0c38c authored by Alexandre Messier's avatar Alexandre Messier Committed by Joe Hershberger
Browse files

net: phy: Set ANRESTART in setup_forced


When configuring a PHY in fixed (forced) link mode, in order for
the changes to be applied, either one of these conditions must
be triggered:
	1- PHY is reset
	2- Autoneg is restarted
	3- PHY transitions from power-down to power-up

Neither of these is currently done, so effectively the fixed link
configuration is not applied in the PHY.

Fix this by setting the Autoneg restart bit.

Signed-off-by: default avatarAlexandre Messier <amessier@tycoint.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 79e3efd5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment