Commit Graph

1204 Commits

Author SHA1 Message Date
Florian Pose af90fa6a94 New page fault return type vm_fault_t since 4.17. 2020-04-03 12:00:24 +02:00
Florian Pose 2570ab3345 Fixed infinite waiting for SoE write response. 2020-01-24 14:36:43 +01:00
Florian Pose 0a14b16aef Using vmalloc() for FoE memory allocation. 2020-01-24 11:09:48 +01:00
Florian Pose f03f15a6fc Added ecrt_master_sync_reference_clock_to() method. 2018-11-26 17:41:27 +01:00
Florian Pose 083bd419b8 Renamed app_start_time to dc_ref_time; output via command-line tool. 2018-11-26 17:17:18 +01: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 538c3d7c04 Improved buffer overflow messages. 2017-12-13 15:39:13 +01:00
Florian Pose a694e3055f Support scheduler parameters in kernels >= 4.11. 2017-12-06 10:09:50 +01:00
Florian Pose 39919cd96a Fixed statistics filter initialisation. 2017-10-12 13:22:06 +02:00
Florian Pose 06ab4c34a8 Doc. 2017-10-12 13:09:52 +02:00
Philipp Weyer e709444450 Fixed vm_fault. 2017-09-04 17:24:46 +02:00
Florian Pose cf8227a71b Adapted vm_operations_struct for kernels >= 4.11 2017-09-04 17:12:59 +02:00
Florian Pose 545d4e548c Use SYNC0 + SYNC1 cycle times for cyclic start time generation. 2016-09-16 12:35:09 +02:00
Florian Pose c7f2a93cc5 merge 2016-09-16 11:56:53 +02:00
Florian Pose 8f599d1eb8 Always clear PDO mapping in ecrt_slave_config_pdos(). 2016-09-16 11:56:10 +02:00
Florian Pose a5cfa32f4b Fixed fragmented SoE write request. 2016-05-13 17:43:00 +02:00
Florian Pose 8812d5bf73 Always clear PDO assignment of configured sync managers. 2016-01-22 10:11:58 +01:00
Florian Pose 00156fb424 New alloc_netdev() API since kernel 3.17. 2015-05-07 15:53:42 +02:00
Florian Pose b6930dfa9b Fixed possible NULL pointer dereference; thanks to Matthieu Bec. 2014-05-05 13:49:45 +02:00
Florian Pose b0e45dbd6c Output datagram stats only if EC_RT_SYSLOG. 2013-12-04 19:53:59 +01:00
Florian Pose e385a9bb62 Added configure switch --disable-rt-syslog. 2013-10-21 19:27:50 +02:00
Florian Pose 605739d78a Introduced FORCE_OUTPUT_CORRUPTED. 2013-05-21 13:18:24 +02:00
Florian Pose b0eace9ef1 Implemented emergency register requests to analyze a broken bus. 2013-05-13 20:21:19 +02:00
Florian Pose a0e44766ec Fixed FoE timeout calculation bug. 2013-02-14 11:17:33 +01:00
Florian Pose b8d541fd33 Improved FoE debug messages. 2013-02-14 11:15:25 +01:00
Florian Pose a4ecaf8b88 Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
Florian Pose f6f5460485 Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
Florian Pose aa6740a96e Removed unused prototype. 2013-02-12 15:30:34 +01:00
Florian Pose 46c8a4c830 Replaced VM_RESERVED for kernel 3.7. 2013-02-12 10:32:37 +01:00
Florian Pose 796dbdd705 Debug message. 2013-02-06 17:52:07 +01:00
Florian Pose 9537c567f8 Introduced --enable-sii-assign. 2013-02-06 17:25:08 +01:00
Florian Pose ebf9c296f3 Added ecrt_slave_config_reg_so_entry_pos() to register non-unique entries. 2013-02-05 16:45:34 +01:00
Florian Pose 23c725a79c Exported ecrt_domain_size() for userspace. 2013-02-05 15:24:45 +01:00
Florian Pose 0af9fa3036 FoE datagram / fsm->datagram bugfix, thanks to R. Roesch. 2013-02-05 14:58:00 +01:00
Florian Pose 994cb9a15d Fixed FoE data opcode, thanks to R. Roesch. 2013-02-05 14:10:46 +01:00
Florian Pose 032acb3d85 Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
Florian Pose 236f4e4c96 Made datagram const. 2012-12-07 19:51:55 +01:00
Florian Pose 8a6eadb16b Fixed some warnings on 64 bit systems. 2012-12-06 18:43:56 +01:00
Florian Pose 465cfd37e3 Removed unused variable. 2012-12-06 18:13:02 +01:00
Florian Pose 623c91c545 Fixed io_sem usage in queue_external_datagrams(). 2012-12-06 18:11:11 +01:00
Florian Pose a57e0f98cf Removed unnecessary semaphore uses for emergency requests. 2012-12-06 17:54:23 +01:00
Florian Pose 55679c0526 Added vmalloc() include fix for ARM architecture, thanks to Andrea Scian. 2012-12-06 15:53:21 +01:00
Florian Pose c0adb9cbfd Do not use slaves's SoE state machine for configuration. 2012-12-06 14:06:10 +01:00
Florian Pose a043fea98e Added function attribute definition. 2012-12-06 14:04:40 +01:00
Florian Pose c1fdfbe289 Fixed some ioctl() permissions. 2012-12-06 11:24:04 +01:00
Florian Pose 43202f7e32 Send sync datagrams only if reference clock is found. 2012-12-05 15:54:49 +01:00
Florian Pose 4750f20558 Minor DC debugging. 2012-12-05 14:55:32 +01:00
Florian Pose 5a40362ee4 Fixed some ioctl() return values. 2012-12-05 13:30:08 +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 5f73e9c046 Using common waitqueue for requests. 2012-12-04 16:05:23 +01:00
Florian Pose 72b60d1c07 Removed unnecessary ec_master_soe_request_t type. 2012-12-04 14:49:23 +01:00
Florian Pose 1b945a670c Removed unnecessary ec_master_foe_request_t; fixed FoE access. 2012-12-04 14:26:30 +01:00
Florian Pose e466f69c37 Improved preprocessor macro usage reg. redundancy. 2012-12-04 14:24:01 +01:00
Florian Pose b5373b36d4 Removed unnecessary loop when dequeuing register requests. 2012-12-04 14:09:49 +01:00
Florian Pose de0ce09db9 Removed unnecessary ec_master_sdo_request_t. 2012-12-04 13:28:38 +01:00
Florian Pose 6863b34ff1 Minor: Renamed slave_sdo_requests. 2012-12-04 12:59:15 +01:00
Florian Pose 0456ad0de8 Invalidate processing register requests when clearing configuration. 2012-12-04 12:23:43 +01:00
Florian Pose 1322a3b6a8 Removed unused method. 2012-12-04 12:22:38 +01:00
Florian Pose cf327f63c8 Mark processing SDO request as invalid if config is cleared. 2012-12-04 12:09:42 +01:00
Florian Pose e59b790583 Reset master state machine when going to orphaned phase. 2012-12-04 11:57:55 +01:00
Florian Pose 879a17fa56 Minor changes. 2012-12-04 11:54:13 +01:00
Florian Pose d28370edd5 merge 2012-11-30 20:25:18 +01:00
Florian Pose 3cb0b12899 Added configure option for redundancy (--with-devices). 2012-11-30 20:15:31 +01:00
Florian Pose 7b0b85b506 Improved device member initialisation. 2012-11-30 12:11:28 +01:00
Florian Pose b5ede6f0f2 Removed unused field. 2012-11-30 12:09:12 +01:00
Florian Pose 7b435e5e84 Changed the datatypes of the shift times in ecrt_slave_config_dc()
to int32_t to correctly display negative shift times.
2012-11-29 10:15:40 +01:00
Florian Pose 075ac4aee8 Adjusted DC clock discipline parameters. 2012-11-20 14:53:36 +01:00
Florian Pose becf05dbd6 Added interface to select the reference clock and to sync to it.
Added rtai_rtdm_dc example, thanks to Graeme Foot.
2012-11-20 14:35:53 +01:00
Florian Pose 4773e88bf6 Added interface to read/write register contents; re-worked register requests. 2012-11-14 22:12:57 +01:00
Florian Pose 139168474d Immediately restart slave FSM on several failed requests. 2012-11-14 22:08:32 +01:00
Florian Pose 88b99dcd07 Removed state-dependent skip messages. 2012-11-14 22:00:11 +01:00
Florian Pose c79e2cfe98 Output slave FSM datagram statistics. 2012-11-14 21:59:34 +01:00
Florian Pose cd415846d5 Added API for querying CoE emergency requests. 2012-11-06 14:23:44 +01:00
Florian Pose 77d12c25ca Show complete access flag in config view. 2012-10-09 09:52:50 +02:00
Florian Pose ef68a4bff1 Added ecrt_sdo_request_index() method to change index and subindex. 2012-10-04 10:07:52 +02:00
Florian Pose 9faaa83212 Re-worked and seamlessly integrated RTDM interface. 2012-09-20 15:28:25 +02:00
Florian Pose b0b7e6fde4 Removed trailing spaces. 2012-09-06 20:22:24 +02:00
Florian Pose 1c8790c483 Merged redundancy branch to stable-1.5. 2012-09-06 18:28:57 +02:00
Florian Pose 66293cbefa Malformed hg keywords. 2012-09-04 14:18:20 +02:00
Florian Pose 83e097bade Fixed AL status code lookup. 2012-08-06 14:18:05 +02:00
Florian Pose dbc993a98b Added missing linux/modules.h include. 2012-07-23 16:10:45 +02:00
Florian Pose d2c2e3a5a9 Removed whitespace. 2012-07-09 10:05:32 +02:00
Florian Pose 6c9e725c29 Added ecrt_master_link_state() to retrieve information about a redundant link. 2012-05-31 11:03:58 +02:00
Florian Pose dee3c96444 Minor: Braces. 2012-05-31 09:50:29 +02:00
Florian Pose 4c3c5c2778 Slave scanning and configuration on all links. 2012-04-06 23:35:05 +02:00
Florian Pose f30e8a0572 Improved/fixed frame statistics (low-pass filters). 2012-03-19 10:43:09 +01:00
Florian Pose e960e20bb3 Fixed frame loss statistics. 2012-03-19 09:56:36 +01:00
Florian Pose 8b19812c17 Fixed sending on backup link if main link is down. 2012-03-17 09:06:58 +01:00
Florian Pose e1c59c7c96 Partial WC output in domains command. 2012-03-16 18:44:59 +01: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 39b918ed71 Added fix for ESC port order (DC delay calculation). 2012-01-30 15:17:34 +01:00
Florian Pose d88ab15d42 Fixed reset of allow_scanning flag if ecrt_master_activate() was not called. 2012-01-13 11:27:20 +01:00
Florian Pose 6edb7e55f6 Allocated ioctl data structures dynamically to avoid stack warnings. 2012-01-10 11:30:41 +01:00
Florian Pose 680d944ccd Decreased maximum length of error message to avoid stack warning. 2012-01-10 11:30:03 +01:00
Florian Pose 543a18d9bb Fixed semaphore header for kernels < 2.6.27. 2012-01-10 10:43:36 +01:00
Florian Pose a7b3698d7d Copy missing slave_info data in kernel space. 2012-01-10 10:11:20 +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