changeset 381 | 006d3653701d |
parent 378 | 8fe6cd43787a |
child 404 | 7f7f429e13c7 |
--- a/master/master.h Thu Sep 28 08:29:59 2006 +0000 +++ b/master/master.h Thu Sep 28 12:58:06 2006 +0000 @@ -45,6 +45,7 @@ #include <linux/sysfs.h> #include <linux/timer.h> #include <asm/atomic.h> +#include <asm/semaphore.h> #include "device.h" #include "domain.h" @@ -99,6 +100,7 @@ struct kobject kobj; /**< kobject */ ec_device_t *device; /**< EtherCAT device */ + struct semaphore device_sem; /**< device semaphore */ ec_xmldev_t xmldev; /**< XML character device */