summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMalli Chilakala <mallikarjuna.chilakala@intel.com>2005-08-25 13:05:57 -0700
committerJeff Garzik <jgarzik@pobox.com>2005-08-25 16:18:32 -0400
commita074fb860846937a4a46dbbf439cbbb2e2ba960c (patch)
tree97c7c923e7733ba0b3d72b84c75111802f2c4133 /drivers
parent136df52d532af9c19e5cd0e43a54ea4ee2d934fc (diff)
downloadlinux-stable-a074fb860846937a4a46dbbf439cbbb2e2ba960c.tar.gz
linux-stable-a074fb860846937a4a46dbbf439cbbb2e2ba960c.tar.bz2
linux-stable-a074fb860846937a4a46dbbf439cbbb2e2ba960c.zip
[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')
-rw-r--r--drivers/net/e100.c2
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,
}
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)