EoE works with RTAI.
authorFlorian Pose <fp@igh-essen.com>
Wed, 10 May 2006 11:51:36 +0000
changeset 227 413ae15d330e
parent 226 07247920a7ba
child 228 ec516cfa207e
EoE works with RTAI.
examples/rtai/rtai_sample.c
--- a/examples/rtai/rtai_sample.c	Wed May 10 11:51:05 2006 +0000
+++ b/examples/rtai/rtai_sample.c	Wed May 10 11:51:36 2006 +0000
@@ -100,7 +100,7 @@
 int request_lock(void *data)
 {
     rt_sem_wait(&master_sem);
-    return 0;
+    return 0; // access allowed
 }
 
 /*****************************************************************************/
@@ -189,7 +189,7 @@
     ecrt_master_prepare_async_io(master);
 #endif
 
-#if 0
+#if 1
     if (ecrt_master_start_eoe(master)) {
         printk(KERN_ERR "Failed to start EoE processing!\n");
         goto out_deactivate;