Commit Graph

1163 Commits

Author SHA1 Message Date
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
Florian Pose 9d733cb1a9 Renamed app_start_time to dc_ref_time; output via command-line tool. 2021-08-24 16:48:07 +02:00
Florian Pose ef9517e7c3 Improved buffer overflow messages. 2021-08-24 16:33:05 +02:00
Florian Pose 606000bf40 Support scheduler parameters in kernels >= 4.11. 2021-08-24 16:32:36 +02:00
Florian Pose 1d28eafa1f Fixed statistics filter initialisation. 2021-08-24 16:29:20 +02:00
Florian Pose 60a4763639 Doc. 2021-08-24 16:28:52 +02:00
Philipp Weyer e2f864c921 Fixed vm_fault. 2021-08-24 16:23:15 +02:00
Florian Pose 538ff27265 Adapted vm_operations_struct for kernels >= 4.11 2021-08-24 16:22:39 +02:00
Florian Pose 41987fec6c Always clear PDO mapping in ecrt_slave_config_pdos(). 2021-08-24 16:17:09 +02:00
Florian Pose 164498b5ad Fixed fragmented SoE write request. 2021-08-24 15:42:50 +02:00
Florian Pose 0b91af9bb2 Use SYNC0 + SYNC1 cycle times for cyclic start time generation. 2016-09-16 12:35:09 +02:00
Florian Pose e78d153199 Minor change. 2016-06-22 14:08:34 +02:00
Florian Pose 938289f396 Minor change. 2016-06-22 13:50:35 +02:00
Florian Pose dc92e57bc3 Minor changes. 2016-06-22 13:49:16 +02:00
Florian Pose be5dfb7278 Do not touch AL state of EoE slaves. 2016-05-03 15:14:42 +02:00
Florian Pose ccbec710d5 Fixed EoE data debug level 3. 2016-05-03 14:18:29 +02:00
Florian Pose e7300c8680 Print mailbox error response data only if data_size > 0. 2016-05-03 14:17:39 +02:00
Florian Pose c5d7b85bab Fixed endianess of EoE parameters. 2016-05-03 14:13:11 +02:00
Florian Pose 621241b394 New alloc_netdev() API since kernel 3.17. 2015-05-07 15:53:42 +02:00
Florian Pose 4d70145d53 merge 2016-01-22 13:09:43 +01:00
Florian Pose 9486892f7b Always clear PDO assignment of configured sync managers. 2016-01-22 10:11:58 +01:00
Florian Pose 0011332fd8 Typo. 2016-01-22 10:10:02 +01:00
Dave Page 45839e8666 16-ethercat-1.5-frame-corruption.patch
from ethercat-1.5.0-patches-v2.tar.bz2
by Frank Heckenbach f.heckenbach@ at fh-soft.de
Ref: http://lists.etherlab.org/pipermail/etherlab-dev/2014/000404.html
with some additional edits.
2015-04-14 16:25:44 -04:00
Knud Baastrup ff75554c58 Internal SDO requests now synchronized with external requests.
Internal SDO requests are managed by master FSM and can conflict with
external requests managed by slave FSM. The internal SDO requests
includes SDO requests created by an application and external request are
typical created by EtherCAT Tool for SDO upload/download or a directory
fetch initiated with ethercat sdos command. The conflict will cause a
FPWR from an external request to be overwritten by a FPWR from an
internal SDO request (or oppersite) in the same "train" of datagrams.
2015-04-14 13:12:24 -04:00
Knud Baastrup fd9e5a770e Maximum length of foe filename extended to 255. 2015-04-14 13:10:55 -04:00
Florian Pose dd49a34f83 Defined list_next_entry for older kernels. 2015-04-17 11:32:54 +02:00
Florian Pose 69c3f671f6 Fixed line wrapping. 2015-04-17 11:22:17 +02:00
Knud Baastrup c4b7de9406 Eoe mac address now derived from unique mac.
The EoE MAC address is now derived from the NIC part of the first global
unique MAC address of the linked list of available network interfaces or
otherwise the MAC address used by the EtherCAT master. The EoE MAC address
will get the format 02:NIC:NIC:NIC:RP:RP where NIC comes from the unique MAC
address (if available) and RP is the ring position of the EoE slave.
2015-04-14 10:12:55 -04:00
Florian Pose c81f24e68b Added --enable-loop-control to make use of the loop control registers. 2015-02-20 16:06:23 +01:00
Florian Pose a03d091ac0 Implemented EoE Set IP parameter request via command-line tool. 2014-11-12 14:42:17 +01:00
Florian Pose 36beb63ca1 Removed obsolete mailbox type name and clarified documentation. 2014-11-06 08:55:35 +01:00
Florian Pose 6b5fec7d90 Removed obsolete SoE type name. 2014-11-06 08:54:14 +01:00
Florian Pose ada77a70d0 Removed obsolete FoE type name. 2014-11-06 08:53:45 +01:00
Florian Pose 8165f931df Cleaned up EoE frame type definitions. 2014-11-06 08:53:11 +01:00
Florian Pose 887f04c02b EoE frame types. 2014-11-05 19:04:36 +01:00
Florian Pose 217888ccc3 Centrally defined mailbox types. 2014-11-05 18:42:12 +01:00
Florian Pose 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
Gavin Lambert d9a93ffa24 Mark download data as const.
Remove redundant code.
[07-sdo-up-download]
2014-05-31 18:08:27 +12:00
Gavin Lambert 1d35113c85 Abort requests started for slave_configs that don't have any actual slaves. 2015-04-14 09:35:15 -04:00
Gavin Lambert 9e3510c455 When detaching a slave from a slave_config, fail any pending register requests instead of leaving them BUSY forever. 2015-04-14 09:34:15 -04:00
Gavin Lambert 0aaf68055e Do not force the DC reference clock to OP; if it is not configured it may refuse and flood the logs. 2014-05-31 15:37:33 +12:00
Dave Page 2fef3fdfb1 Add DEBUG_DATAGRAM_OVERFLOW to support ec_domain_finish datagram overflow testing 2015-04-07 21:25:43 -04:00