Skip to content
Commit 2d53018a authored by Samuel Holland's avatar Samuel Holland Committed by Jagan Teki
Browse files

net: sun8i_emac: Fix PHY initialization



The previous code tried to update the PHY parameters without waiting for
autonegotiation to complete. This caused wrong values to be written to
the EMAC in sun8i_adjust_link(). As a result, any commands that called
eth_start() before autonegotiation completed would find the network
nonfunctional. Fix this by using the correct function to start up the
PHY.

Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Acked-by: Joe Hershberger's avatarJoe Hershberger <joe.hershberger@ni.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent b0b0d22f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment