Commit Graph

2105 Commits

Author SHA1 Message Date
Florian Pose 0b91af9bb2 Use SYNC0 + SYNC1 cycle times for cyclic start time generation. 2016-09-16 12:35:09 +02:00
Florian Pose 95c2be2a37 Support changed sock_create_kern() interface from Linux 4.2. 2016-10-18 10:20:47 +02:00
Florian Pose 8ab3c676cd Support changed tty_prepare_flip_string() interface from kernel 3.9. 2016-10-18 10:20:21 +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 075afaf626 Migrated user-space example to use clock_nanosleep(). 2016-06-09 13:52:22 +02:00
Florian Pose 2982618ddb EoE interface configuration hints. 2016-05-04 11:17:20 +02:00
Florian Pose 1277f0b656 Included "ethercat ip" command in documentation. 2016-05-04 10:29:55 +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 b4d4a98287 Fixed bug concerning netdev_completed_queue(); thanks to B. Benner. 2015-02-19 15:19:29 +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 9a219078c7 Made some throw methods static. 2014-11-05 15:06:54 +01:00
Florian Pose 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
Gavin Lambert 0dbebdbddf Exit properly on "restart" request to init script.
[29-init-restart]
2014-06-01 18:07:47 +12:00
Gavin Lambert 467bce0185 Add generated files to mrproper rule.
[08-mrproper]
2014-05-31 18:12:17 +12: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 e3e96acb69 Fix for strings containing spaces.
[04-string-download]
2014-05-31 17:21:53 +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 8b034e4aa6 Ignore NXIO error otherwise this causes spam if network is empty or refclk not
selected yet, and syncing refclk time to master.
2015-04-14 09:33:24 -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
Gavin Lambert 45f66e9565 Moved userspace domain unmap to deactivate instead of release, fixing memory/ref leak. 2014-05-31 14:49:02 +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
Dave Page 8350b85879 Fix datagram overflow layout issue 2015-04-07 21:07:16 -04:00
Dave Page 039f9ac74d Remove unused variable 2015-04-06 14:58:19 -04:00
Dave Page fad06b32f1 overlapping PDO split datagram support 2015-04-06 14:39:31 -04:00
Dave Page 69b5eb3a4f overlapping PDO initial working. datagram size is not correct 2015-04-02 16:49:36 -04:00
Dave Page 7beb81207d Refactor fmmu->logical_start_address to fmmu->logical_domain_offset 2015-03-26 17:41:57 -04:00
Dave Page b8c5ff836d Integrate skeleton of allow_overlapping_pdos from af21f0bdc7c9
Overlapping PDO API added, but not active/working.
No more changes than required to build.
EC_IOCTL_VERSION_MAGIC now 30
2015-03-26 15:16:21 -04:00