master/slave_config.c
changeset 1181 9e5954a2a46e
parent 1178 ca00393c8ca6
child 1209 8be462afb7f4
child 1647 dd648d1786e9
--- a/master/slave_config.c	Fri Aug 01 08:58:35 2008 +0000
+++ b/master/slave_config.c	Fri Aug 01 09:24:26 2008 +0000
@@ -709,6 +709,11 @@
 {
     ec_sdo_request_t *req;
 
+    if (sc->master->debug_level)
+        EC_DBG("ecrt_slave_config_create_sdo_request(sc = 0x%x, "
+                "index = 0x%04X, subindex = 0x%02X, size = %u)\n", (u32) sc,
+                index, subindex, size);
+
     if (!(req = (ec_sdo_request_t *)
                 kmalloc(sizeof(ec_sdo_request_t), GFP_KERNEL))) {
         EC_ERR("Failed to allocate Sdo request memory!\n");