examples/rtai/rtai_sample.c
changeset 259 87b20532872b
parent 246 0bf7c769de06
child 325 7833cf70c4f2
equal deleted inserted replaced
258:7d46b83e3175 259:87b20532872b
    40 #include "rtai_sched.h"
    40 #include "rtai_sched.h"
    41 #include "rtai_sem.h"
    41 #include "rtai_sem.h"
    42 
    42 
    43 // EtherCAT
    43 // EtherCAT
    44 #include "../../include/ecrt.h"
    44 #include "../../include/ecrt.h"
       
    45 
       
    46 /*****************************************************************************/
       
    47 
       
    48 MODULE_LICENSE("GPL");
       
    49 MODULE_AUTHOR("Florian Pose <fp@igh-essen.com>");
       
    50 MODULE_DESCRIPTION("EtherCAT RTAI sample module");
    45 
    51 
    46 /*****************************************************************************/
    52 /*****************************************************************************/
    47 
    53 
    48 // comment this for synchronous IO
    54 // comment this for synchronous IO
    49 #define ASYNC
    55 #define ASYNC
   266     printk(KERN_INFO "=== EtherCAT RTAI sample module stopped. ===\n");
   272     printk(KERN_INFO "=== EtherCAT RTAI sample module stopped. ===\n");
   267 }
   273 }
   268 
   274 
   269 /*****************************************************************************/
   275 /*****************************************************************************/
   270 
   276 
   271 MODULE_LICENSE("GPL");
       
   272 MODULE_AUTHOR ("Florian Pose <fp@igh-essen.com>");
       
   273 MODULE_DESCRIPTION ("EtherCAT RTAI sample module");
       
   274 
       
   275 module_init(init_mod);
   277 module_init(init_mod);
   276 module_exit(cleanup_mod);
   278 module_exit(cleanup_mod);
   277 
   279 
   278 /*****************************************************************************/
   280 /*****************************************************************************/
   279 
   281