Commit Graph

1131 Commits

Author SHA1 Message Date
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
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
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
Dave Page f9dfaf3f9b Reduce frequency of DC Sync debug messages 2015-03-16 14:18:55 -04:00
Dave Page 42745f4ebb Fix fsm_foe timeout regression 2014-03-05 06:36:18 +13:00
Dave Page 9ffdb2e85b Gavin Lambert FoE Patches 2014-01-22 19:02:02 +13:00
Dave Page 1d1a651502 FoE: Fix expected packet number when busy 2014-01-22 15:53:19 +13:00
Dave Page d7ad553902 [etherlab-dev] [PATCH] FoE: fix read packet number check 2014-01-22 13:01:45 +13:00
Florian Pose 4db1985fdf Undefined debugging. 2015-04-17 10:22:11 +02:00
Dave Page b4b0474762 FoE: fix state transition when busy during read. Not working. 2014-01-22 13:00:52 +13:00
Dave Page 9412326b8b Fix spurious FoE write timeout 2013-12-16 14:18:30 -05: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
Florian Pose 605d25eec9 Replaced all mangled hg keywords. 2012-09-06 14:17:21 +02:00
Florian Pose bbd210e4c8 Fixed malformed keywords. 2012-09-06 14:07:13 +02:00
Florian Pose 3fe3f0b987 Fixed AL status code lookup. 2012-08-06 14:18:05 +02:00
Florian Pose 03c932486a Added missing linux/modules.h include. 2012-07-23 16:10:45 +02:00
Florian Pose 5c48b73793 Removed whitespace. 2012-07-09 10:05:32 +02:00
Florian Pose 6ee0a18ac7 Fixed reset of allow_scanning flag if ecrt_master_activate() was not called. 2012-01-13 11:27:20 +01:00
Florian Pose a125ee70c8 Allocated ioctl data structures dynamically to avoid stack warnings. 2012-01-10 11:30:41 +01:00
Florian Pose 43bd127cfd Decreased maximum length of error message to avoid stack warning. 2012-01-10 11:30:03 +01:00
Florian Pose f698ec2aa0 Fixed semaphore header for kernels < 2.6.27. 2012-01-10 10:43:36 +01:00
Florian Pose 42b1bb1d3f Copy missing slave_info data in kernel space. 2012-01-10 10:11:20 +01:00
Florian Pose ac81b869cc Minor: Indentation. 2012-01-10 10:13:13 +01:00
Florian Pose 4aaba1c675 Avoided unused variable warnings. 2012-01-09 17:42:28 +01:00
Florian Pose 393613a47a Allow gaps between SDO subindices when fetching dictionary. 2012-01-05 16:53:08 +01:00
Florian Pose 54e2ff770e Allow CoE OD List Segments to have 6 bytes instead of 8. 2012-01-05 16:47:23 +01:00
Florian Pose e03be8a42f Removed some locks causing latency when using the library; added ioctl()
latency debugging; fixed FoE memory leaks in error case.
2011-12-20 11:12:04 +01:00
Florian Pose c7de6d8ec4 Minor: Fixed spacing. 2011-12-16 16:26:16 +01:00
Florian Pose a39fe6c97d Read AL status code before acknowledging spontaneous state change. 2011-12-16 11:42:55 +01:00
Florian Pose 4874ad087c Improved resetting number of responding slaves. 2011-12-09 10:35:23 +01:00