aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-12-26 13:49:25 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-26 13:49:25 -0800
commit843813453f52e3378fc988c8364063fd4cb9d0e3 (patch)
treed17c5d80afd77f58e95dccaff53d6e4c671b3fa6 /net/core/dev.c
parentsfc: When disabling the NIC, close the device rather than unregistering it (diff)
downloadlinux-dev-843813453f52e3378fc988c8364063fd4cb9d0e3.tar.xz
linux-dev-843813453f52e3378fc988c8364063fd4cb9d0e3.zip
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 <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions