diff options
author | Malli Chilakala <mallikarjuna.chilakala@intel.com> | 2005-08-25 16:05:57 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-25 16:18:32 -0400 |
commit | a074fb860846937a4a46dbbf439cbbb2e2ba960c (patch) | |
tree | 97c7c923e7733ba0b3d72b84c75111802f2c4133 /drivers/net/e100.c | |
parent | 136df52d532af9c19e5cd0e43a54ea4ee2d934fc (diff) |
[PATCH] e100: added msleep_interruptible delay
added msleep_interruptible delay right before returning from diag_test
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>
Diffstat (limited to 'drivers/net/e100.c')
-rw-r--r-- | drivers/net/e100.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c index bff135457928..b723f4dca11e 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c | |||
@@ -2108,6 +2108,8 @@ static void e100_diag_test(struct net_device *netdev, | |||
2108 | } | 2108 | } |
2109 | for(i = 0; i < E100_TEST_LEN; i++) | 2109 | for(i = 0; i < E100_TEST_LEN; i++) |
2110 | test->flags |= data[i] ? ETH_TEST_FL_FAILED : 0; | 2110 | test->flags |= data[i] ? ETH_TEST_FL_FAILED : 0; |
2111 | |||
2112 | msleep_interruptible(4 * 1000); | ||
2111 | } | 2113 | } |
2112 | 2114 | ||
2113 | static int e100_phys_id(struct net_device *netdev, u32 data) | 2115 | static int e100_phys_id(struct net_device *netdev, u32 data) |