Commit Graph

115 Commits

Author SHA1 Message Date
Florian Pose
6503e0a32a Added missing prototypes. 2024-05-22 11:01:37 +02:00
Bjarne von Horn
06b408ef1b use int as return type for ecrt_domain_*
See #101
2024-04-03 10:34:17 +02:00
Florian Pose
a5df1c38d1 Moved fetching domain offset to ecrt_master_activate(). 2024-02-07 15:27:47 +01:00
Florian Pose
ee55c20e28 Fixed mail address; limited lines to 78 characters; removed $Id$. 2024-02-01 15:15:41 +01:00
Bjarne von Horn
c3826c7758 Remove EtherCAT copyright notice. 2024-01-15 11:20:25 +01:00
Florian Pose
eba73fc292 Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
Florian Pose
0257660396 Fixed working counter calculation when process data of the same slave are
split into separate datagrams.
2018-11-12 15:02:49 +01:00
Florian Pose
e385a9bb62 Added configure switch --disable-rt-syslog. 2013-10-21 19:27:50 +02:00
Florian Pose
f6f5460485 Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
Florian Pose
86b332cafc Fixed ecrt_domain_process() broken in 71d38ff288b3. 2012-12-05 11:32:45 +01:00
Florian Pose
65df8b3a17 Minor change. 2012-12-05 10:22:43 +01:00
Florian Pose
e466f69c37 Improved preprocessor macro usage reg. redundancy. 2012-12-04 14:24:01 +01:00
Florian Pose
3cb0b12899 Added configure option for redundancy (--with-devices). 2012-11-30 20:15:31 +01:00
Florian Pose
4c3c5c2778 Slave scanning and configuration on all links. 2012-04-06 23:35:05 +02:00
Florian Pose
d3e9618f51 Loop through datagrams, then FMMUs; redundancy flag in domain state. 2012-03-16 18:24:29 +01:00
Florian Pose
a304442ebc Compare with send buffer; copy changed data. 2012-03-16 16:04:26 +01:00
Florian Pose
e47f14fd77 Avoided casting-away constness in expected working counter calculation. 2011-08-11 19:43:48 +02:00
Florian Pose
d0bd89882b Replaced i with dev_idx. 2012-03-15 14:23:16 +01:00
Florian Pose
522a63df8a Redundant outputs via datagram pairs. 2012-01-12 17:41:05 +01:00
Florian Pose
849f37cd41 Datagram device_index member. 2012-01-12 13:55:15 +01:00
Florian Pose
62b722ab33 Improved syslog macros. 2010-05-03 18:07:57 +02:00
Florian Pose
d24bede41c Added missing code documentation. 2010-04-19 21:56:16 +02:00
Dominik Staubli
60b6807f24 Domain datagram working counter calculation bugfix: increment expected wc for a given slave & direction just once for each datagram
This bug occurs if you configure more than one SM in the same direction on the same slave
2010-01-21 11:09:31 +01:00
Florian Pose
49c2f676d5 Bugfix: Unqueue datagram before destroying. 2009-10-29 17:28:49 +01:00
Florian Pose
7ac08b531f Avoid warnings on x86_64 platform. Thanks to Thomas Elste. 2009-10-19 13:12:40 +02:00
Florian Pose
12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose
5ca3d24337 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only. 2009-01-26 11:16:10 +00:00
Florian Pose
8d46a283f6 Improved error case return codes of many functions. 2008-11-17 17:18:02 +00:00
Florian Pose
72381046c2 merge -c1554 branches/stable-1.4: Fixed WC calculation for multiple datagrams. 2008-11-05 10:16:11 +00:00
Florian Pose
ffe107b658 Made ecrt_domain_size() const. 2008-10-10 07:58:48 +00:00
Florian Pose
64e1d6f678 Introduced ec_datagram_zero(). 2008-09-30 07:34:55 +00:00
Florian Pose
1cf5448e88 Added debugging for configuration function of the application interface. 2008-08-01 09:24:26 +00:00
Florian Pose
d4fec010cb Improved WC changes message. 2008-07-18 08:39:28 +00:00
Florian Pose
c0b7fca9b6 Improved source code doc. 2008-07-04 12:06:10 +00:00
Florian Pose
d942e87cef Implemented master semaphore to secure concurrent access from ioctls, state machine and realtime interface. 2008-07-01 15:38:20 +00:00
Florian Pose
a81228a587 Store sync manager configurations in ec_slave_config_t instead of Pdo
lists for each direction; changed realtime interface to allow sync
manager configuration.
2008-06-26 13:16:15 +00:00
Florian Pose
dfa4860546 working_counter = 0x0000; 2008-06-18 14:37:00 +00:00
Florian Pose
9aa0789b33 Reverted revision number checking from r1228. 2008-06-17 09:44:46 +00:00
Florian Pose
541c2a0cd8 Added revision number to slave type checking. 2008-06-16 09:30:58 +00:00
Florian Pose
448eb13820 Removed kobject from domain. 2008-06-12 07:26:38 +00:00
Florian Pose
b5bee09143 Fixed calculation of expected working counter. 2008-06-10 09:54:30 +00:00
Florian Pose
4d5b2a41a8 'ethercat domain' shows domain contents and process data. 2008-06-04 13:17:15 +00:00
Florian Pose
94bb141623 Working counter as uint16_t. 2008-06-04 08:43:08 +00:00
Florian Pose
e6f758b4de Some improvements concerning bit_position. 2008-05-30 08:56:47 +00:00
Richard Hacker
8e0484b1c4 Changed Pdo entry registration function - return byte and bit positions 2008-05-30 07:11:27 +00:00
Florian Pose
bf2e1b9ee1 Added bitwise Pdo registration. 2008-05-28 07:26:28 +00:00
Florian Pose
c8b67e13ee Improved working counter output; fixed problem with slaves that have a single sync manager used for outputs. 2008-05-13 16:07:06 +00:00
Florian Pose
5cbdbc6d4b Removed unused domain state. 2008-04-07 10:19:59 +00:00
Florian Pose
b4322990e2 Calculate expected working counter for domains. 2008-02-22 17:23:05 +00:00
Florian Pose
49baa165af Support for slaves that don't support the LRW datagram type. 2008-02-22 16:04:23 +00:00