mini/mini.c
changeset 114 e4b4b5a85e75
parent 112 eec7639c7be9
child 116 231b22fc034b
--- a/mini/mini.c	Mon Mar 20 13:36:10 2006 +0000
+++ b/mini/mini.c	Mon Mar 20 15:28:25 2006 +0000
@@ -45,7 +45,7 @@
     {NULL,          "6", "Beckhoff", "EL1014", "InputValue",  0},
     {NULL,          "7", "Beckhoff", "EL2004", "OutputValue", 0},
     {NULL,          "8", "Beckhoff", "EL4132", "OutputValue", 0},
-    {NULL,          "9", "Beckhoff", "EL4132", "OutputValue", 0},
+    {NULL,   "#48879:8", "Beckhoff", "EL4132", "OutputValue", 0},
     {}
 };
 
@@ -144,6 +144,14 @@
 
     //ecrt_master_debug(master, 0);
 
+#if 0
+    printk(KERN_INFO "Writing alias...\n");
+    if (ecrt_master_write_slave_alias(master, "0", 0xBEEF)) {
+        printk(KERN_ERR "EtherCAT: Failed to write alias!\n");
+        goto out_deactivate;
+    }
+#endif
+
 #ifdef ASYNC
     // Einmal senden und warten...
     ecrt_master_prepare_async_io(master);