]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
igb: do not force retry count to 1 on 82580 phy
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 23 Dec 2009 13:21:07 +0000 (13:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2009 04:47:50 +0000 (20:47 -0800)
commit8c6af2995c14e71558c312b86955ae32272a03d8
tree7b8f6e5fb4cbac5f4cbb3558a0c12db7441b1107
parentd68caec645b4b92f6a81985265b024bc94bce41f
igb: do not force retry count to 1 on 82580 phy

This change resolves an issue seen in some configurations where the link
may drop to 100Mb/s even though the link itself supports 1000Mb/s.  The
issue was root caused to the fact that we were only trying the link once.
Now instead we will try up to 5 attempts on a faulty cable before
downshifting to 100Mb/s.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_phy.c