Improved timeout error messages.
authorFlorian Pose <fp@igh-essen.com>
Mon, 14 Jul 2008 12:16:07 +0000
changeset 1111 6aaf6a0c375c
parent 1110 958e49f020a0
child 1112 d11661e1f4de
Improved timeout error messages.
master/fsm_coe.c
--- a/master/fsm_coe.c	Thu Jul 10 09:39:38 2008 +0000
+++ b/master/fsm_coe.c	Mon Jul 14 12:16:07 2008 +0000
@@ -369,8 +369,8 @@
             (datagram->jiffies_received - fsm->jiffies_start) * 1000 / HZ;
         if (diff_ms >= EC_FSM_COE_DICT_TIMEOUT) {
             fsm->state = ec_fsm_coe_error;
-            EC_ERR("Timeout while checking Sdo dictionary on slave %u.\n",
-                   slave->ring_position);
+            EC_ERR("Timeout while waiting for Sdo dictionary list response "
+                    "on slave %u.\n", slave->ring_position);
             return;
         }
 
@@ -613,8 +613,8 @@
             (datagram->jiffies_received - fsm->jiffies_start) * 1000 / HZ;
         if (diff_ms >= EC_FSM_COE_DICT_TIMEOUT) {
             fsm->state = ec_fsm_coe_error;
-            EC_ERR("Timeout while checking Sdo description on slave %u.\n",
-                   slave->ring_position);
+            EC_ERR("Timeout while waiting for Sdo object description "
+                    "response on slave %u.\n", slave->ring_position);
             return;
         }
 
@@ -848,8 +848,8 @@
             (datagram->jiffies_received - fsm->jiffies_start) * 1000 / HZ;
         if (diff_ms >= EC_FSM_COE_DICT_TIMEOUT) {
             fsm->state = ec_fsm_coe_error;
-            EC_ERR("Timeout while checking Sdo entry on slave %u.\n",
-                   slave->ring_position);
+            EC_ERR("Timeout while waiting for Sdo entry description response "
+                    "on slave %u.\n", slave->ring_position);
             return;
         }
 
@@ -1430,8 +1430,8 @@
             (datagram->jiffies_received - fsm->jiffies_start) * 1000 / HZ;
         if (diff_ms >= fsm->request->response_timeout) {
             fsm->state = ec_fsm_coe_error;
-            EC_ERR("Timeout while checking Sdo upload on slave %u.\n",
-                   slave->ring_position);
+            EC_ERR("Timeout while waiting for Sdo upload response on "
+                    "slave %u.\n", slave->ring_position);
             return;
         }