Commit Graph

658 Commits

Author SHA1 Message Date
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
Florian Pose 1553af9375 Create device class. Preparation for device numbers in sysfs. 2008-06-17 12:19:17 +00:00
Florian Pose 06f499078d Improved ecdev_offer(). 2008-06-17 10:19:52 +00:00
Florian Pose 9aa0789b33 Reverted revision number checking from r1228. 2008-06-17 09:44:46 +00:00
Florian Pose 541c2a0cd8 Added revision number to slave type checking. 2008-06-16 09:30:58 +00:00
Florian Pose d3f7c7bbd8 Added a few debugging messages. 2008-06-12 13:05:05 +00:00
Florian Pose e581c899f6 Minor change. 2008-06-12 13:03:50 +00:00
Florian Pose 6759569586 Fixed duplicate kfree() bug. 2008-06-12 13:00:32 +00:00
Florian Pose a2dc5419b7 Minor change. 2008-06-12 11:53:06 +00:00
Florian Pose 2f836e6e32 Fixed bug in slave scanning, causing a segmentation fault. 2008-06-12 09:49:35 +00:00
Florian Pose 985470c9b6 Removed EC_IOCTL_DOMAIN_COUNT. 2008-06-12 09:44:18 +00:00
Florian Pose e4c9a82a56 Store slaves in an array instead of a list. 2008-06-12 09:32:25 +00:00
Florian Pose d254ec906b Removed unnecessary code. 2008-06-12 09:19:06 +00:00
Florian Pose b54bc11567 Replaced a few GFP_ATOMIC allocations with GFP_KERNEL ones. 2008-06-12 08:31:06 +00:00
Florian Pose e2c03b9e77 Removed kobject from master and module. Sysfs is gone! 2008-06-12 08:12:02 +00:00
Florian Pose 1451da0cd0 Removed deprecated default_config flag. 2008-06-12 07:47:26 +00:00
Florian Pose 3197ca4a23 Removed kobject from slave_config. 2008-06-12 07:45:27 +00:00
Florian Pose fbdb093ec0 Clear domains before slave configs, because domain references the FMMU
configurations.
2008-06-12 07:32:05 +00:00
Florian Pose 448eb13820 Removed kobject from domain. 2008-06-12 07:26:38 +00:00
Florian Pose 22fe4a1841 Removed kobjects from sdo and slave. 2008-06-12 07:15:54 +00:00
Florian Pose 5f6dc8c5a1 Removed kobject from sdo entry. 2008-06-11 15:37:38 +00:00
Florian Pose 1132577dd9 Bus configuration via 'ethercat config'. 2008-06-11 15:29:47 +00:00
Florian Pose bc3c6f320a Slave information via 'ethercat slave'. 2008-06-11 13:01:21 +00:00
Florian Pose d28bf7ecbe Display error flag in 'ethercat ls'; cleaned up usage of error flag;
removed action_acknowledge.
2008-06-10 12:05:25 +00:00
Florian Pose 2a7a7e2e5c Replaced misleading %i by %u. 2008-06-10 11:54:39 +00:00
Florian Pose b5bee09143 Fixed calculation of expected working counter. 2008-06-10 09:54:30 +00:00
Florian Pose ded661f552 Output decoded ioctl command number. 2008-06-10 08:54:54 +00:00
Florian Pose 6249f1dd91 Implemented SII writing (including alias writing) via ethercat command. 2008-06-10 08:48:50 +00:00
Florian Pose ee57578c05 Renamed some fields in ec_sii_request_t to word addressing. 2008-06-09 14:32:16 +00:00
Florian Pose 0ee1c38030 Implemented SII read. 2008-06-09 13:45:22 +00:00
Florian Pose 96b3009e8e Moved sii to words. 2008-06-09 13:24:16 +00:00