--- a/master/master.h Thu Sep 28 08:31:33 2006 +0000
+++ b/master/master.h Fri Oct 13 10:07:10 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"
@@ -98,6 +99,7 @@
struct kobject kobj; /**< kobject */
ec_device_t *device; /**< EtherCAT device */
+ struct semaphore device_sem; /**< device semaphore */
ec_fsm_t fsm; /**< master state machine */
ec_master_mode_t mode; /**< master mode */