Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame^] | 1 | From 67d1c25af7fa16df40a8305405066ba6a40ac659 Mon Sep 17 00:00:00 2001 |
| 2 | From: Shesha Sreenivasamurthy <shesha@cisco.com> |
| 3 | Date: Wed, 2 Sep 2015 08:46:39 -0700 |
| 4 | Subject: [PATCH 4/9] ixgbe: Wait a bit longer for autonegotiation to leave |
| 5 | state 0 |
| 6 | |
| 7 | --- |
| 8 | drivers/net/ixgbe/base/ixgbe_82599.c | 2 +- |
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/drivers/net/ixgbe/base/ixgbe_82599.c b/drivers/net/ixgbe/base/ixgbe_82599.c |
| 12 | index f0deb59..ae66380 100644 |
| 13 | --- a/drivers/net/ixgbe/base/ixgbe_82599.c |
| 14 | +++ b/drivers/net/ixgbe/base/ixgbe_82599.c |
| 15 | @@ -2442,7 +2442,7 @@ s32 ixgbe_reset_pipeline_82599(struct ixgbe_hw *hw) |
| 16 | IXGBE_WRITE_REG(hw, IXGBE_AUTOC, |
| 17 | autoc_reg ^ (0x4 << IXGBE_AUTOC_LMS_SHIFT)); |
| 18 | /* Wait for AN to leave state 0 */ |
| 19 | - for (i = 0; i < 10; i++) { |
| 20 | + for (i = 0; i < 50; i++) { |
| 21 | msec_delay(4); |
| 22 | anlp1_reg = IXGBE_READ_REG(hw, IXGBE_ANLP1); |
| 23 | if (anlp1_reg & IXGBE_ANLP1_AN_STATE_MASK) |
| 24 | -- |
| 25 | 2.5.0 |
| 26 | |