diff options
author | Malli Chilakala <mallikarjuna.chilakala@intel.com> | 2005-08-25 20:05:57 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-25 20:18:32 (GMT) |
commit | a074fb860846937a4a46dbbf439cbbb2e2ba960c (patch) | |
tree | 97c7c923e7733ba0b3d72b84c75111802f2c4133 /drivers/net/e100.c | |
parent | 136df52d532af9c19e5cd0e43a54ea4ee2d934fc (diff) | |
download | linux-fsl-qoriq-a074fb860846937a4a46dbbf439cbbb2e2ba960c.tar.xz |
[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 bff1354..b723f4d 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c @@ -2108,6 +2108,8 @@ static void e100_diag_test(struct net_device *netdev, } for(i = 0; i < E100_TEST_LEN; i++) test->flags |= data[i] ? ETH_TEST_FL_FAILED : 0; + + msleep_interruptible(4 * 1000); } static int e100_phys_id(struct net_device *netdev, u32 data) |