Skip to content
Snippets Groups Projects
Commit ee8fa20f authored by Andy Fleming's avatar Andy Fleming Committed by Wolfgang Denk
Browse files

phylib: Detect link on 10G devices correctly


gen10g_startup() had 2 bugs:

1) It had a boolean logic error in checking the MMD mask, and
always checked all of them.

2) It checked devices which don't actually report link state, which
meant that it would never believe the link was fully up.

Fix the boolean logic, and then mask the MMD mask so only link-reporting
devices are checked.

Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
Reported-by: default avatarEd Swarthout <Ed.Swarthout@freescale.com>
parent 09e3a67d
No related branches found
No related tags found
No related merge requests found
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