e1000e: ensure the link state is correct for serdes links
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 1 Dec 2009 15:49:51 +0000 (15:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Dec 2009 08:35:53 +0000 (00:35 -0800)
commit1a40d5c170f472d541844cb5b4292efbe02ef89c
tree33a85e29de0f6563f66387ac32bfeb1e8f4dcdd8
parent17f208deb9bf88315aa72c08c866a235c399fb9a
e1000e: ensure the link state is correct for serdes links

This patch ensures that the link state (as reported in
mac->serdes_has_link) will transition to false when autoneg fails to
complete but valid codewords were detected.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/82571.c