Commit Graph

76 Commits

Author SHA1 Message Date
Martin Troxler c059ec6f49 use rt_mutex instead of semaphore for mutual exclusion (use --enable-mutex) 2011-01-05 08:36:53 +01:00
Martin Troxler 711764aec3 Inplace I/O bug: correct domain tx-size when tx-size of input and output fmmu is different. 2010-12-06 11:42:48 +01:00
Martin Troxler f938cab3d1 Merged 2010-11-27 17:02:54 +01:00
Martin Troxler 8ff146ae8d fixed race when calculating DC offsets and start times due to ec_slave_config_attach: removed obsolete request to change slave state to OP.
The request to change to OP is done by ec_master_request_op after activating the master.
2010-11-26 10:33:55 +01:00
Florian Pose 869215071e Output IDN configuration as part of 'ethercat config -v'. 2010-10-24 08:43:44 +02:00
Martin Troxler a55d77d7ed merged 2010-10-18 10:45:07 +02:00
Martin Troxler 911e09392f Inplace I/O: prevent pairing with already paired fmmus 2010-10-18 10:30:57 +02:00
Florian Pose 190cdce964 Added drive_no parameter to SoE layer. 2010-07-20 10:52:31 +02:00
Florian Pose 26d4687d0e Added state parameter to ecrt_slave_config_idn(). 2010-06-06 22:40:22 +02:00
Florian Pose 9618b9dfe6 Added debug output for ecrt_slave_config_dc(). 2010-05-25 13:32:43 +02:00
Florian Pose 6d354de9c0 Fixed format specifiers. 2010-05-20 12:46:09 +02:00
Martin Troxler d135711521 merged 2010-05-11 13:57:58 +02:00
Florian Pose 62b722ab33 Improved syslog macros. 2010-05-03 18:07:57 +02:00
Martin Troxler 196bc7db4d Inplace I/O: let input Pdos use the same bus space as Output Pdos 2010-04-29 16:33:32 +02:00
Florian Pose bf2bffdcf5 Added missing queue_external_datagram(); removed tabs. 2010-03-19 10:48:16 +01:00
Florian Pose fc4ee4d699 Added ecrt_slave_config_idn() method to store SoE IDN configurations. 2010-03-05 18:05:35 +01: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 7ac08b531f Avoid warnings on x86_64 platform. Thanks to Thomas Elste. 2009-10-19 13:12:40 +02:00
Florian Pose 10c7501851 Implemented CompleteAccess for SDO downloads. 2009-08-13 13:53:56 +02:00
Florian Pose 4f4ac6e4fa Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
Florian Pose 735f1efbc1 Removed unwanted tabulators. 2009-07-27 10:37:47 +00:00
Florian Pose 7e600a6301 Merged ecrt_slave_config_dc_assign_activate() and
ecrt_slave_config_dc_sync_signals() to ecrt_slave_config_dc().
2009-05-05 15:03:59 +00:00
Florian Pose c39919e6cc Replaced ecrt_slave_config_dc_cycle_times() and ecrt_slave_config_dc_shift_times() by ecrt_slave_config_dc_sync_signals(). 2009-05-04 12:46:30 +00:00
Florian Pose 4b4dc8a5b5 DC shift time working. 2009-04-23 12:25:09 +00:00
Florian Pose e3b1d8e573 DC cyclic operation and slave configuration. TBC... 2009-04-09 09:17:41 +00:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose fe10563a36 Added ec_slave_config_find_sdo_request(). 2009-02-02 13:34:01 +00:00
Florian Pose 723a9d66f4 merge -c1610 branches/stable-1.4: Added missing doxygen docs. 2009-01-26 11:58:35 +00:00
Florian Pose 826ae37b26 merge -c1604 branches/stable-1.4: Fixed spelling of EtherCAT terms. 2009-01-26 11:45:30 +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 bdbaf5d078 Created backend versions of all API functions returing a pointer; using
the PTR_ERR()... macros.
2008-11-17 15:04:28 +00:00
Florian Pose b8f4c144de merge -c1521 branches/stable-1.4: Fixed race concerning ec_slave_config_state->operational. 2008-10-17 13:30:55 +00:00
Florian Pose 494a0ee4ac Added ec_slave_config_find_voe_handler(). 2008-10-14 09:56:38 +00:00
Florian Pose 4dfbf8e022 Added missing export. 2008-09-22 11:27:15 +00:00
Florian Pose 12d30c487a Added VoE handler. 2008-09-01 14:17:18 +00:00
Florian Pose 1cf5448e88 Added debugging for configuration function of the application interface. 2008-08-01 09:24:26 +00:00
Florian Pose 09a6ddc5a4 Fixed reconfiguration: Force config when application detaches. 2008-08-01 07:23:09 +00:00
Florian Pose e3caba45ab Force reconfiguration after attachment. 2008-07-24 15:06:47 +00:00
Florian Pose 56cb9c7882 Sdo configuration debugging. 2008-07-17 12:25:15 +00:00
Florian Pose be63f1243b Using EC_END. 2008-07-04 16:54:26 +00:00
Florian Pose c0b7fca9b6 Improved source code doc. 2008-07-04 12:06:10 +00:00
Florian Pose d871e4fd08 Renamed ecrt_slave_config_sync_managers() to ecrt_slave_config_pdos();
Added EC_MAX_SYNC_MANAGERS to ecrt.h.
2008-07-02 14: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 9bbbc4009d Minor change. 2008-06-26 14:24:29 +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
Richard Hacker d6c87aa3b8 Return out of ecrt_slave_config_pdos() when pdo_infos == NULL 2008-06-24 10:55:40 +00:00
Florian Pose ba99d87e54 Output attachment failure messages only when debugging. 2008-06-18 11:16:30 +00:00
Florian Pose 4688b35ada Implemented ecrt_slave_config_state(); minor changes in
ec_master_state_t and ec_slave_config_state_t; adapted example.
2008-06-18 10:13:58 +00:00
Florian Pose 9aa0789b33 Reverted revision number checking from r1228. 2008-06-17 09:44:46 +00:00