--- a/master/domain.h Thu Sep 06 14:40:10 2012 +0200
+++ b/master/domain.h Thu Sep 06 18:28:57 2012 +0200
@@ -63,12 +63,15 @@
ec_origin_t data_origin; /**< Origin of the \a data memory. */
uint32_t logical_base_address; /**< Logical offset address of the
process data. */
- struct list_head datagrams; /**< Datagrams for process data exchange. */
+ struct list_head datagram_pairs; /**< Datagrams pairs (main/backup) for
+ process data exchange. */
- uint16_t working_counter; /**< Last working counter value. */
+ uint16_t working_counter[EC_NUM_DEVICES]; /**< Last working counter
+ values. */
uint16_t expected_working_counter; /**< Expected working counter. */
unsigned int working_counter_changes; /**< Working counter changes
since last notification. */
+ unsigned int redundancy_active; /**< Non-zero, if redundancy is in use. */
unsigned long notify_jiffies; /**< Time of last notification. */
};