[Intel-wired-lan] [PATCH] e1000e: Fix comment for the function, e1000e_setup_copper_link

Nicholas Krause xerofoify at gmail.com
Tue May 26 18:50:01 UTC 2015


This changes the comment about checking link status to state that
we wait at least 10 microseconds rather then 100 as the third
agrument passed to the function, e1000e_phy_has_link_generic
for time delayed in microseconds is not 100 but 10 in this
particular call to the function.

Signed-off-by: Nicholas Krause <xerofoify at gmail.com>
---
 drivers/net/ethernet/intel/e1000e/phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/e1000e/phy.c b/drivers/net/ethernet/intel/e1000e/phy.c
index b2005e1..456cd3f 100644
--- a/drivers/net/ethernet/intel/e1000e/phy.c
+++ b/drivers/net/ethernet/intel/e1000e/phy.c
@@ -1169,7 +1169,7 @@ s32 e1000e_setup_copper_link(struct e1000_hw *hw)
 		}
 	}
 
-	/* Check link status. Wait up to 100 microseconds for link to become
+	/* Check link status. Wait up to 10 microseconds for link to become
 	 * valid.
 	 */
 	ret_val = e1000e_phy_has_link_generic(hw, COPPER_LINK_UP_LIMIT, 10,
-- 
2.1.4



More information about the Intel-wired-lan mailing list