master/master.h
changeset 656 370aa8c2d1b1
parent 647 dc556a8c8fed
child 661 bc1de1362efb
equal deleted inserted replaced
655:3702f0d6693b 656:370aa8c2d1b1
   110     unsigned int injection_seq_rt; /**< datagram injection sequence number
   110     unsigned int injection_seq_rt; /**< datagram injection sequence number
   111                                      for the realtime side */
   111                                      for the realtime side */
   112 
   112 
   113     struct list_head slaves; /**< list of slaves on the bus */
   113     struct list_head slaves; /**< list of slaves on the bus */
   114     unsigned int slave_count; /**< number of slaves on the bus */
   114     unsigned int slave_count; /**< number of slaves on the bus */
       
   115     
       
   116     ec_request_state_t scan_state; /**< current scanning state */
       
   117     unsigned int allow_scan; /**< non-zero, if slave scanning is allowed */
       
   118     struct semaphore scan_sem; /**< semaphore protecting the scan_state
       
   119                                  variable and the allow_scan flag */
       
   120     wait_queue_head_t scan_queue; /**< queue for processes that wait for
       
   121                                     slave scanning */
       
   122 
       
   123     ec_request_state_t config_state; /**< state of slave configuration */
       
   124     unsigned int allow_config; /**< non-zero, if slave scanning is allowed */
       
   125     struct semaphore config_sem; /**< semaphore protecting the config_state
       
   126                                    variable and the allow_config flag */
       
   127     wait_queue_head_t config_queue; /**< queue for processes that wait for
       
   128                                       slave configuration */
   115 
   129 
   116     struct list_head datagram_queue; /**< datagram queue */
   130     struct list_head datagram_queue; /**< datagram queue */
   117     uint8_t datagram_index; /**< current datagram index */
   131     uint8_t datagram_index; /**< current datagram index */
   118 
   132 
   119     struct list_head domains; /**< list of domains */
   133     struct list_head domains; /**< list of domains */