diff options
author | Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> | 2005-10-04 07:07:24 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-04 07:07:24 -0400 |
commit | 352c9f854cb197581d7135d1276742fd76b53c25 (patch) | |
tree | 938d630ff6ef3de60fcb6111bbe253a832ca019f | |
parent | e4c811c9d2f2728ce15440c99b3b44b72799b43f (diff) |
e1000: Added msleep_interruptible delay
added msleep_interruptible delay right before returning from diag_test to allow
the phy to recover from reset
Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r-- | drivers/net/e1000/e1000_ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_ethtool.c b/drivers/net/e1000/e1000_ethtool.c index 183b583df1d7..ee66947e5043 100644 --- a/drivers/net/e1000/e1000_ethtool.c +++ b/drivers/net/e1000/e1000_ethtool.c | |||
@@ -1544,6 +1544,7 @@ e1000_diag_test(struct net_device *netdev, | |||
1544 | data[2] = 0; | 1544 | data[2] = 0; |
1545 | data[3] = 0; | 1545 | data[3] = 0; |
1546 | } | 1546 | } |
1547 | msleep_interruptible(4 * 1000); | ||
1547 | } | 1548 | } |
1548 | 1549 | ||
1549 | static void | 1550 | static void |