Commit Graph

688 Commits

Author SHA1 Message Date
Florian Pose d8d0e4ec4e Group/Image/Order strings in slave ioctl; order number as text content
in XML Type element.
2008-07-10 09:36:47 +00:00
Florian Pose 0a63897d3d Added ec_cdev_strcpy() function. 2008-07-10 09:31:03 +00:00
Florian Pose be63f1243b Using EC_END. 2008-07-04 16:54:26 +00:00
Florian Pose c0b7fca9b6 Improved source code doc. 2008-07-04 12:06:10 +00:00
Florian Pose d871e4fd08 Renamed ecrt_slave_config_sync_managers() to ecrt_slave_config_pdos();
Added EC_MAX_SYNC_MANAGERS to ecrt.h.
2008-07-02 14:06:10 +00:00
Florian Pose 8265fb115f Improved locking between ioctl()s and master state machine; separate
functions for ioctls(); removed master's sii_sem and sdo_sem.
2008-07-02 11:26:51 +00:00
Florian Pose 20911256c3 Added ec_master_find_domain_const(). 2008-07-02 09:22:55 +00:00
Florian Pose f10cc06840 Added ec_master_find_slave_const(). 2008-07-02 08:14:47 +00:00
Florian Pose d942e87cef Implemented master semaphore to secure concurrent access from ioctls, state machine and realtime interface. 2008-07-01 15:38:20 +00:00
Florian Pose 131bcd7203 Added Kbuild files to BUILT_SOURCES in Makefile.am files to create dependencies. 2008-06-30 15:51:46 +00:00
Florian Pose be9e9fd07d Avoid duplicate reconfiguration. 2008-06-27 07:22:02 +00:00
Florian Pose 78278f1a6b Fixed sync manager direction bug. 2008-06-26 14:24:49 +00:00
Florian Pose 9bbbc4009d Minor change. 2008-06-26 14:24:29 +00:00
Florian Pose 88f5a2ac84 Begin reading of Pdo assignment at sync manager 2; removed some
debugging.
2008-06-26 14:03:33 +00:00
Florian Pose 444802186b Operational flag in 'ethercat config'. 2008-06-26 13:42:23 +00:00
Florian Pose dc9a3daa77 Configuration error, if sync manager configuration configuration with
assigned Pdos is not provided by slave.
2008-06-26 13:41:42 +00:00
Florian Pose a81228a587 Store sync manager configurations in ec_slave_config_t instead of Pdo
lists for each direction; changed realtime interface to allow sync
manager configuration.
2008-06-26 13:16:15 +00:00
Richard Hacker d6c87aa3b8 Return out of ecrt_slave_config_pdos() when pdo_infos == NULL 2008-06-24 10:55:40 +00:00
Florian Pose 5223684939 Central CoE timeouts; retry on CoE response mismatch. 2008-06-23 12:03:37 +00:00
Florian Pose 62611876e4 Added a timeout for Sdo configurations. 2008-06-23 10:31:26 +00:00
Florian Pose 4a6df220bb Added ec_pdo_list_print(). 2008-06-23 10:27:40 +00:00
Florian Pose 8bb85dba51 Added some debugging. 2008-06-23 10:26:47 +00:00
Florian Pose 4458a5fd62 Minor change. 2008-06-23 09:52:23 +00:00
Florian Pose a6b7657daf Fixed alias bug. 2008-06-20 13:38:35 +00:00
Florian Pose 28adf79a3c Introduced global upload timeout for fsm_coe_map. 2008-06-19 14:06:27 +00:00
Richard Hacker 86d0d12c62 Timeouts set for various uploads in FSM COE MAP 2008-06-19 13:52:12 +00:00
Florian Pose a11d897b5e Response timeout for checking Sdo upload. 2008-06-19 13:35:34 +00:00
Florian Pose c233259931 Removed state machine cycle time measuring. 2008-06-19 10:22:24 +00:00
Florian Pose cdd45226aa Disable use of CPU timestamp counter by default. 2008-06-19 10:18:58 +00:00
Florian Pose 02ccc34a1e Use jiffies instead of cycles in SII state machine. 2008-06-19 10:18:18 +00:00
Florian Pose 05cbdfd999 Use jiffies instead of cycles in CoE state machine. 2008-06-19 10:17:52 +00:00
Florian Pose 1415090d15 Store abort code in sdo request; output it in user space; added some
re_size checking in fsm_coe.
2008-06-19 09:24:22 +00:00
Florian Pose 4a6d031f92 Check for data sizes when reading Pdo assignment/mapping from CoE. 2008-06-19 08:06:49 +00:00
Florian Pose 10ce3ceda1 Added response timeout to sdo_request; removed timout from fsm_coe_map. 2008-06-19 07:54:45 +00:00
Richard Hacker 87cca35c84 Retry reading assigned pdos using timeout. 2008-06-18 15:03:03 +00:00
Florian Pose 4349375d28 Retry reading Pdo assignment. 2008-06-18 14:37:20 +00:00
Florian Pose dfa4860546 working_counter = 0x0000; 2008-06-18 14:37:00 +00:00
Florian Pose f03af4c38b Removed 'end' and 'error' states from master state machine. 2008-06-18 13:53:31 +00:00
Florian Pose 0ef150c812 Renamed master 'mode' to 'phase'. 2008-06-18 13:33:50 +00:00
Florian Pose d91aa97487 Removed configs_attached flag; changed return value of
ec_master_attach_slave_configs() to void.
2008-06-18 12:49:11 +00:00
Florian Pose ba99d87e54 Output attachment failure messages only when debugging. 2008-06-18 11:16:30 +00:00
Florian Pose 6535c4d9ed Minor change. 2008-06-18 11:15:36 +00:00
Florian Pose 6dd92542d7 Only load default assignment, if slave was attached. 2008-06-18 11:13:30 +00:00
Florian Pose 4688b35ada Implemented ecrt_slave_config_state(); minor changes in
ec_master_state_t and ec_slave_config_state_t; adapted example.
2008-06-18 10:13:58 +00:00
Florian Pose af2c4efc0e Set slave_states to 0x00 when no slaves are present. 2008-06-18 09:27:04 +00:00
Florian Pose d7790d1d18 Removed some unnecessary code. 2008-06-18 08:59:00 +00:00
Richard Hacker 2d683ae0de Completed master states. 2008-06-17 14:24:33 +00:00
Florian Pose 2e6a9a955e Added support for different versions of class_device_create(). 2008-06-17 13:03:33 +00:00
Florian Pose dac0f3b575 Replaced include sysfs->device. 2008-06-17 13:02:56 +00:00
Florian Pose 25ffc9f638 Create class device with device_number information in sysfs. 2008-06-17 12:49:06 +00:00