master/master.h
changeset 814 a51f857b1b2d
parent 792 3778920f61e4
child 849 4b712ec8929d
equal deleted inserted replaced
813:bfc3f1ab52de 814:a51f857b1b2d
   126 
   126 
   127     struct list_head domains; /**< list of domains */
   127     struct list_head domains; /**< list of domains */
   128 
   128 
   129     int debug_level; /**< master debug level */
   129     int debug_level; /**< master debug level */
   130     ec_stats_t stats; /**< cyclic statistics */
   130     ec_stats_t stats; /**< cyclic statistics */
   131     unsigned int pdo_slaves_offline; /**< number of slaves, for which PDOs
   131     unsigned int pdo_slaves_offline; /**< number of slaves, for which Pdos
   132                                        were registered and that are offline
   132                                        were registered and that are offline
   133                                        (used for bus status) */
   133                                        (used for bus status) */
   134     unsigned int frames_timed_out; /**< there were frame timeouts in the last
   134     unsigned int frames_timed_out; /**< there were frame timeouts in the last
   135                                      call to ecrt_master_receive() */
   135                                      call to ecrt_master_receive() */
   136 
   136 
   159     struct semaphore eeprom_sem; /**< semaphore protecting the list of
   159     struct semaphore eeprom_sem; /**< semaphore protecting the list of
   160                                    EEPROM write requests */
   160                                    EEPROM write requests */
   161     wait_queue_head_t eeprom_queue; /**< wait queue for EEPROM
   161     wait_queue_head_t eeprom_queue; /**< wait queue for EEPROM
   162                                       write requests from user space */
   162                                       write requests from user space */
   163 
   163 
   164     struct list_head sdo_requests; /**< SDO access requests */
   164     struct list_head sdo_requests; /**< Sdo access requests */
   165     struct semaphore sdo_sem; /**< semaphore protecting the list of
   165     struct semaphore sdo_sem; /**< semaphore protecting the list of
   166                                    SDO access requests */
   166                                    Sdo access requests */
   167     wait_queue_head_t sdo_queue; /**< wait queue for SDO access requests
   167     wait_queue_head_t sdo_queue; /**< wait queue for Sdo access requests
   168                                    from user space */
   168                                    from user space */
   169 };
   169 };
   170 
   170 
   171 /*****************************************************************************/
   171 /*****************************************************************************/
   172 
   172