From: Ben Hutchings Date: Fri, 26 Dec 2008 21:49:25 +0000 (-0800) Subject: sfc: If AN is enabled, always read speed/duplex from the AN advertising bits X-Git-Tag: v2.6.29-rc1~581^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843813453f52e3378fc988c8364063fd4cb9d0e3;p=pandora-kernel.git 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: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed