Skip to contentSkip to conversation

e1000e: Fix comment for the function, e1000e_setup_copper_link

PATCH New Nicholas Krause 1 participant 1 message May 26, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e1000e: Fix comment for the function, e1000e_setup_copper_link

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.

---
 drivers/net/ethernet/intel/e1000e/phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/e1000e/phy.c +1 -1
index b2005e1..456cd3f 100644
@@ -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,
Signature · 1 line
2.1.4