Rasmus Villemoes
624872fcdb
fix direct uses of up()/down()
...
When converting to the ec_lock_t abstraction, these were missed,
making building with --enable-rtmutex broken.
Fixes: 9955855f7e (Applied 0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch)
2022-08-31 15:21:23 +02:00
Florian Pose
fa890a8b61
Applied 0021-Await-SDO-dictionary-to-be-fetched.patch
2022-06-23 12:43:34 +02:00
Florian Pose
8896d3b879
Applied 0020-eoe-ip.patch
2022-06-23 12:39:52 +02:00
Florian Pose
5f84d54890
Applied 0000-version-magic.patch and bumped to 1.6
2022-06-23 12:20:47 +02:00
Florian Pose
44c6c3d1da
Merge branch 'master' of ../git
2022-06-23 11:55:13 +02:00
Florian Pose
f943348d98
Applied 0019-Support-for-multiple-mailbox-protocols.patch
2022-06-23 11:54:10 +02:00
Florian Pose
429ba9356e
Applied 0018-Use-call-back-functions.patch
2022-06-23 11:27:28 +02:00
Florian Pose
cef602586c
Applied 0017-Master-locks-to-avoid-corrupted-datagram-queue.patch
2022-06-23 11:26:20 +02:00
Florian Pose
9955855f7e
Applied 0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch
2022-06-23 11:21:51 +02:00
Florian Pose
667e93284d
Applied 0015-Clear-configuration-on-deactivate-even-if-not-activa.patch
2022-06-23 11:00:45 +02:00
Florian Pose
a3fa7cecaf
Applied 0014-Fix-NOHZ-local_softirq_pending-08-warning.patch
2022-06-23 10:59:45 +02:00
Florian Pose
d09daadfbb
Applied 0013-Do-not-reuse-the-index-of-a-pending-datagram.patch
2022-06-23 10:58:57 +02:00
Florian Pose
8db3e5abf4
Applied 0012-Added-newline-to-syslog-message-MAC-address-derived.patch
2022-06-23 10:56:33 +02:00
Florian Pose
57342c99ca
Applied 0011-Reduced-printing-to-avoid-syslog-spam.patch
2022-06-23 10:55:57 +02:00
Florian Pose
d1dc6795f3
Applied 0010-Make-busy-logging-a-little-less-irritating.patch
2022-06-23 10:55:03 +02:00
Florian Pose
90f3f7e841
Applied 0009-Avoid-changing-running-slaves-DC-offset.patch
2022-06-23 10:53:56 +02:00
Florian Pose
225af9f787
Applied 0008-read-reference-slave-clock-64bit-time.patch
2022-06-23 10:45:16 +02:00
Florian Pose
234695fe44
Applied 0006-avoid-ssize_t.patch
2022-06-23 10:26:43 +02:00
Florian Pose
405c88f6d6
Applied 0005-disable-eoe.patch
2022-06-23 10:25:36 +02:00
Florian Pose
efcd95ed9c
Applied 0004-fix-eoe-clear.patch
2022-06-23 10:13:49 +02:00
Florian Pose
d0d4535df0
Applied 0003-print-sync-signed.patch
2022-06-23 10:13:00 +02:00
Florian Pose
17eddce68d
Applied 0002-Distributed-Clock-fixes-from-Jun-Yuan.patch
2022-06-23 10:12:12 +02:00
Florian Pose
b4f8c0e750
Added 0001-Distributed-Clock-fixes-and-helpers.patch
2022-06-23 10:07:34 +02:00
Florian Pose
89677140fa
Minor: Fixed indent.
2022-05-17 14:09:00 +02:00
Bjarne von Horn
1f55565fbb
Fix setting mac_address
...
eoe->dev->dev_addr is read_only in 5.17.0
using eth_hw_addr_set instead
2022-05-17 14:06:42 +02:00
Shi Qiyao
29919ef8b7
Add support for FoE with password.
...
Patch originally from https://github.com/ribalda/ethercat which adds the
support for FoE command tool with password.
2022-04-19 11:54:16 +02:00
Florian Pose
4fe2599530
Strictly using KERN_CONT for continued printk() calls to avoid newlines.
2021-08-31 13:29:16 +02:00
Florian Pose
ffbb1eed9f
Define set_normal_priority() inside #ifdef EC_EOE. Fixes #12 .
2021-08-31 13:09:09 +02:00
Florian Pose
2d96b626e8
Avoided warning about unreasonable use of strncpy().
2021-08-25 12:01:03 +02:00
Florian Pose
a5a30f7dbf
Avoided warning about unreasonable use of strncpy().
2021-08-25 11:58:22 +02:00
Florian Pose
3781326aba
Define set_normal_priority() inside #ifdef EC_EOE. Fixes #12 .
2021-08-25 09:45:31 +02:00
Florian Pose
0e8ee10933
Avoided unused variables.
2021-08-24 18:12:27 +02:00
Florian Pose
db12765645
Fixed duplicate ioctl labels.
2021-08-24 18:12:00 +02:00
Florian Pose
7facae8e3b
First feature flag: AssignToPdi.
2021-08-24 17:48:46 +02:00
Florian Pose
980c8d3025
Find flag method with const char * parameter; added method to header.
2021-08-24 17:48:09 +02:00
Florian Pose
2ee65b6387
Added feature flags to API.
2021-08-24 17:47:15 +02:00
Florian Pose
f2e838a664
Also changed license of gloabl headers to LGPL.
...
Moved definition of EC_SDO_INJECTION_TIMEOUT to master.c.
2021-08-24 17:40:06 +02:00
Florian Pose
ab0d009bcc
Added export for ecrt_slave_config_reg_pdo_entry_pos(). Fixes #11 .
2021-08-24 17:39:54 +02:00
Florian Pose
8e1dc9f593
Corrected license text of master/ioctl.h, because it is included in the userspace library.
2021-08-24 17:39:43 +02:00
Nicola Fontana
4e6ac827c1
Revive 'make distcheck'
2021-08-24 17:37:01 +02:00
Florian Pose
ff9db35874
Retry responding slaves datagram; more robust to timeouts.
2021-08-24 17:33:58 +02:00
Nicola Fontana
6e8c371c42
Do not include AC_CONFIG_FILES in BUILT_SOURCES
...
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:
https://www.gnu.org/software/automake/manual/html_node/Sources.html
AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:
https://www.gnu.org/software/automake/manual/html_node/Requirements.html
2021-08-24 17:32:32 +02:00
Florian Pose
fbc414c879
Use Git for version detection and tools.
2021-08-24 17:16:55 +02:00
Nicola Fontana
40bd393ed0
Fix sched_setscheduler undefined on kernel 5.9
...
sched_setscheduler is no more exported:
https://lkml.org/lkml/2020/4/22/1071
2021-08-24 17:15:09 +02:00
Florian Pose
efce2814d9
Improved debugging and behavior on sick SII contents.
2021-08-24 17:14:42 +02:00
Florian Pose
c2abe4d8d3
Fixed missing include for struct sched_param.
2021-08-24 17:13:21 +02:00
Florian Pose
b6a456c046
New page fault return type vm_fault_t since 4.17.
2021-08-24 17:12:20 +02:00
Florian Pose
3d5d3afd26
Fixed infinite waiting for SoE write response.
2021-08-24 17:02:35 +02:00
Florian Pose
65d29d8c17
Using vmalloc() for FoE memory allocation.
2021-08-24 17:02:21 +02:00
Florian Pose
fffbeb4ba5
Added ecrt_master_sync_reference_clock_to() method.
2021-08-24 16:56:23 +02:00