Commit Graph

254 Commits

Author SHA1 Message Date
Florian Pose 5ca3d24337 merge -c1603 branches/stable-1.4: Changed licence headers to avoid conflicts with the GPL; restricted licence to GPLv2 only. 2009-01-26 11:16:10 +00:00
Florian Pose 8d46a283f6 Improved error case return codes of many functions. 2008-11-17 17:18:02 +00:00
Florian Pose bdbaf5d078 Created backend versions of all API functions returing a pointer; using
the PTR_ERR()... macros.
2008-11-17 15:04:28 +00:00
Florian Pose 7fca697c8d Output corrupted frame reasons. 2008-11-05 09:59:20 +00:00
Florian Pose f8bff8668f merge -c1522 branches/stable-1.4: Fixed jace in jiffies timeout calculation. 2008-10-17 13:36:43 +00:00
Florian Pose 7765e989c4 Added ec_master_get_config(). 2008-10-09 09:48:59 +00:00
Florian Pose 4104c786ac Applied patch by Mario Witkowski to support the new class/device
interface from kernel 2.6.26.
2008-10-09 09:00:48 +00:00
Florian Pose 2484105d5a Minor change. 2008-10-02 10:44:43 +00:00
Florian Pose 488bf0a640 Moved threads to kthread interface. 2008-10-01 14:37:34 +00:00
Florian Pose 426b0ab2d7 Avoided using #ifdef inside a macro. 2008-10-01 08:44:44 +00:00
Florian Pose 12d30c487a Added VoE handler. 2008-09-01 14:17:18 +00:00
Florian Pose d975aafa18 Added phy commands. 2008-08-13 13:23:52 +00:00
Florian Pose 17352d9e3b Fixed race concerning thread signaling when master thread had no
opportunity to run, but shall be killed immediately.
2008-08-08 13:47:23 +00:00
Florian Pose 908624d4d8 Fixed missing up(). 2008-08-08 13:42:46 +00:00
Florian Pose 1cf5448e88 Added debugging for configuration function of the application interface. 2008-08-01 09:24:26 +00:00
Florian Pose 09a6ddc5a4 Fixed reconfiguration: Force config when application detaches. 2008-08-01 07:23:09 +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 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
Florian Pose a6b7657daf Fixed alias bug. 2008-06-20 13:38:35 +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 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 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
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 25ffc9f638 Create class device with device_number information in sysfs. 2008-06-17 12:49:06 +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 6759569586 Fixed duplicate kfree() bug. 2008-06-12 13:00:32 +00:00
Florian Pose e4c9a82a56 Store slaves in an array instead of a list. 2008-06-12 09:32:25 +00:00
Florian Pose e2c03b9e77 Removed kobject from master and module. Sysfs is gone! 2008-06-12 08:12:02 +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 1132577dd9 Bus configuration via 'ethercat config'. 2008-06-11 15:29:47 +00:00
Florian Pose 2a7a7e2e5c Replaced misleading %i by %u. 2008-06-10 11:54:39 +00:00
Florian Pose 825836dd77 Removed master info from sysfs. 2008-06-05 15:44:58 +00:00
Florian Pose 7194a43da1 Implemented 'ethercat debug' command. 2008-06-05 14:33:36 +00:00
Florian Pose e5f7d6f400 Introduced ec_master_domain_count() and ec_master_find_domain(). 2008-06-04 10:10:05 +00:00