diff -r b0660152f710 -r d6d951b766e3 master/master.h --- a/master/master.h Thu Mar 01 21:23:07 2007 +0000 +++ b/master/master.h Thu Mar 01 21:34:10 2007 +0000 @@ -44,6 +44,7 @@ #include #include #include +#include #include #include @@ -138,6 +139,12 @@ void (*release_cb)(void *); /**< lock release callback */ void *cb_data; /**< data parameter of locking callbacks */ + struct list_head eeprom_requests; /**< EEPROM write requests */ + struct semaphore eeprom_sem; /**< semaphore protecting the list of + EEPROM write requests */ + wait_queue_head_t eeprom_queue; /**< wait queue for EEPROM + write requests from user space */ + ec_sdo_request_t *sdo_request; /**< pointer to the current SDO request */ unsigned int sdo_seq_user; /**< sequence number for user space */ unsigned int sdo_seq_master; /**< sequence number for master */