blob: b7a50298b355c5459984d6e19dbb017b0c57631d [file] [log] [blame]
Damjan Marionbce6b6a2015-12-16 04:27:37 +01001From 009cd67e5b1ed0592de0fb6ae2fa662ffc172dde Mon Sep 17 00:00:00 2001
2From: Damjan Marion <damarion@cisco.com>
3Date: Wed, 16 Dec 2015 03:22:11 +0100
4Subject: [PATCH 2/4] ixgbe: Wait a bit longer for autonegotiation to leave
5
6---
7 drivers/net/ixgbe/base/ixgbe_82599.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/drivers/net/ixgbe/base/ixgbe_82599.c b/drivers/net/ixgbe/base/ixgbe_82599.c
11index f0deb59..ae66380 100644
12--- a/drivers/net/ixgbe/base/ixgbe_82599.c
13+++ b/drivers/net/ixgbe/base/ixgbe_82599.c
14@@ -2442,7 +2442,7 @@ s32 ixgbe_reset_pipeline_82599(struct ixgbe_hw *hw)
15 IXGBE_WRITE_REG(hw, IXGBE_AUTOC,
16 autoc_reg ^ (0x4 << IXGBE_AUTOC_LMS_SHIFT));
17 /* Wait for AN to leave state 0 */
18- for (i = 0; i < 10; i++) {
19+ for (i = 0; i < 50; i++) {
20 msec_delay(4);
21 anlp1_reg = IXGBE_READ_REG(hw, IXGBE_ANLP1);
22 if (anlp1_reg & IXGBE_ANLP1_AN_STATE_MASK)
23--
242.5.0
25