Skip to content
Commit 84381345 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

sfc: If AN is enabled, always read speed/duplex from the AN advertising bits



When AN is enabled and the link is down the speed/duplex control bits
will not be meaningful.  Use the advertising bits instead, and mask
them with the LPA bits if and only if AN is complete (as before).

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f4bd954e
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