tries left auf 20 geaendert kernel2.6
authorWilhelm Hagemeister <hm@igh-essen.com>
Fri, 16 Dec 2005 09:04:00 +0000
branchkernel2.6
changeset 29 8c16582f2394
parent 28 801dc7eabf51
child 30 8902b55920f4
tries left auf 20 geaendert
drivers/ec_master.c
--- a/drivers/ec_master.c	Fri Dec 16 08:15:21 2005 +0000
+++ b/drivers/ec_master.c	Fri Dec 16 09:04:00 2005 +0000
@@ -156,7 +156,7 @@
 
   EtherCAT_device_call_isr(master->dev);
 
-  tries_left = 100;
+  tries_left = 20;
   while (master->dev->state == ECAT_DS_SENT && tries_left)
   {
     udelay(1);
@@ -1052,7 +1052,7 @@
 
   EtherCAT_device_call_isr(master->dev);
 
-  tries_left = 100;
+  tries_left = 20;
   while (master->dev->state == ECAT_DS_SENT && tries_left)
   {
     udelay(1);