e1000e: 82571 Serdes can fail to get link
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 24 Nov 2010 06:01:35 +0000 (06:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Dec 2010 06:13:14 +0000 (22:13 -0800)
commitd9c76f99c2a79feb413e3e751362d59c0f5323f6
tree77a7e393c0f7e465d9eb30b440b92d455e33d732
parentcbd006cb7d4e7b76c6febf7f51e970bced132914
e1000e: 82571 Serdes can fail to get link

When link partner is sending continuous Config symbols, the 82571 Serdes
FIFO can overflow resulting in Invalid bit getting set.  To resolve this,
if Sync and Config bits are both 1 ignore the Invalid bit and restart
auto-negotiation.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e1000e/82571.c