Commit Graph

649 Commits

Author SHA1 Message Date
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
Florian Pose e654535c2d Added debugging for sdo download. 2008-06-09 12:35:00 +00:00
Florian Pose 4c1696d415 Implemented Sdo download via ethercat command. 2008-06-09 12:11:19 +00:00
Florian Pose 2d79874a7b ioctl() permissions. 2008-06-09 10:29:28 +00:00
Florian Pose 149be786f1 Using Linux ioctl() number generation macros. 2008-06-09 10:27:56 +00:00
Florian Pose 5160d6be02 process Sdo requests even with error_flag set. 2008-06-06 15:16:37 +00:00
Florian Pose a85f8fc5d5 Implemented sdo_upload command. 2008-06-06 15:13:25 +00:00
Florian Pose a62466b7fe Added ec_slave_get_sdo_const(). 2008-06-06 13:03:56 +00:00
Florian Pose 9329e1727e Implemented Sdo dictionary info via 'ethercat sdos'. 2008-06-06 09:27:24 +00:00
Florian Pose fea56d5aa6 Added ec_slave_get_sdo_by_pos_const() and ec_slave_sdo_count(). 2008-06-06 09:22:57 +00:00