Florian Pose
|
91e5c0d860
|
Merged Komax changes.
|
2010-01-08 11:26:07 +01:00 |
Florian Pose
|
a163d3f1bd
|
Implemented ecrt_master() and ecrt_master_get_slave() in kernel space.
|
2010-01-07 17:26:39 +01:00 |
Martin Troxler
|
5d6ce8b992
|
Merged
|
2009-12-27 16:58:19 +01:00 |
Martin Troxler
|
49fc79081f
|
merged
|
2009-12-18 11:09:07 +01:00 |
Matthias Luescher
|
df099a1998
|
fix build for recent kernel versions (tested with 2.6.31)
|
2009-12-17 17:21:03 +01:00 |
Martin Troxler
|
8d4a5ed16a
|
removed busy loop in idle thread
|
2009-12-17 10:54:59 +01:00 |
Martin Troxler
|
94fec37d0f
|
use given send interval to limit SDO/FOE traffic
|
2009-12-15 10:55:36 +01:00 |
Florian Pose
|
344ec90545
|
Merged changes by Martin Troxler.
|
2009-12-14 13:25:50 +01:00 |
Florian Pose
|
699b184f6f
|
Merged changes from Martin Troxler.
|
2009-12-14 13:11:36 +01:00 |
Martin Troxler
|
d823576945
|
Moved FOE request queue and fsm into slaves
|
2009-12-01 16:00:22 +01:00 |
Martin Troxler
|
abb3588747
|
Moved sdo request queue to slaves
|
2009-12-01 14:24:57 +01:00 |
Martin Troxler
|
cb33213076
|
ecrt_master_set_max_cycle_size: limit SDO traffic
|
2009-11-30 12:26:56 +01:00 |
Martin Troxler
|
0d17968348
|
Each slave got its own SDO state machine (faster handling of external SDO requests)
|
2009-11-26 15:33:48 +01:00 |
Martin Troxler
|
bf63d965d8
|
Merge
|
2009-11-19 14:44:57 +01:00 |
Martin Troxler
|
dfeb99b1cb
|
applied komax patch to version r1822
- adapted to 2.6.31 (-rt): init_MUTEX -> sema_init, net_device_ops (Matthias Lüscher)
- 8139too eth driver for 2.6.31 (Matthias Lüscher)
- scan_busy queryable in user mode (ec_master_info_t) (Martin Troxler)
- read alias from register 0x0012 (TODO: reread alias after sii write) (Martin Troxler)
- cancel external SDO/FOE,Reg&SII requests (Martin Troxler)
|
2009-11-19 14:39:10 +01:00 |
Florian Pose
|
21dacadf01
|
Merge x86_64 fixes.
|
2009-10-19 13:13:55 +02:00 |
Florian Pose
|
7ac08b531f
|
Avoid warnings on x86_64 platform. Thanks to Thomas Elste.
|
2009-10-19 13:12:40 +02:00 |
Florian Pose
|
e3b459e060
|
Fixed clearing slaves: Also clear external requests before. Thanks to Martin
Troxler.
|
2009-10-06 13:50:30 +02:00 |
Florian Pose
|
700226ac83
|
DC synchrony monitoring methods.
|
2009-08-21 12:15:16 +02:00 |
Florian Pose
|
103eb7139c
|
Added ecrt_master_deactivate() to remove the bus configuration.
|
2009-08-20 14:27:35 +02:00 |
Florian Pose
|
694838c9f6
|
Fixed compiler error on --disable-eoe.
|
2009-08-04 07:54:16 +00:00 |
Florian Pose
|
f411a51ca6
|
Re-added callback data pointer, because it is necessary for some applications.
|
2009-07-29 09:19:53 +00:00 |
Florian Pose
|
735f1efbc1
|
Removed unwanted tabulators.
|
2009-07-27 10:37:47 +00:00 |
Florian Pose
|
a3c32e8b67
|
Improved the callback mechanism.
|
2009-07-13 15:18:28 +00:00 |
Florian Pose
|
f7e14d2915
|
EoE processing with kthread.
|
2009-06-30 11:11:56 +00:00 |
Florian Pose
|
1baa06d05b
|
ethercat eoe command.
|
2009-06-26 09:46:57 +00:00 |
Florian Pose
|
2a7052264b
|
Minor: vendor/product with 8 hex digits.
|
2009-06-26 07:44:50 +00:00 |
Florian Pose
|
ceec75bf50
|
Always set DC reference clock to OP.
|
2009-05-06 15:06:46 +00:00 |
Florian Pose
|
6935cbb247
|
Use application start time as a common reference for cyclic generation
start times.
|
2009-05-04 12:11:00 +00:00 |
Florian Pose
|
a34809e18d
|
Separated application time from synchronizing reference clock.
|
2009-05-04 10:05:55 +00:00 |
Florian Pose
|
f057a0f968
|
Transition->Transmission.
|
2009-04-30 14:37:02 +00:00 |
Florian Pose
|
29eb2d7d06
|
Transition delay calculation. TBC...
|
2009-04-30 14:12:47 +00:00 |
Florian Pose
|
f4b6807cc9
|
Bus topology calculation.
|
2009-04-29 09:43:04 +00:00 |
Florian Pose
|
69da9e5524
|
Determine type of DC implementation (full or delay meas. only); update scan FSM graph.
|
2009-04-27 11:38:03 +00:00 |
Florian Pose
|
d3303e0fa4
|
Replaced timeval by 64-bit EtherCAT time.
|
2009-04-24 10:24:53 +00:00 |
Florian Pose
|
40bb1edaec
|
Output reference clock and application time in 'ethercat Master'.
|
2009-04-24 08:39:20 +00:00 |
Florian Pose
|
fe56cc111c
|
Separated sync_reference_clock() and sync_slave_clocks().
|
2009-04-23 12:02:26 +00:00 |
Florian Pose
|
5e79dc8c06
|
Find DC reference clock.
|
2009-04-20 14:33:47 +00:00 |
Florian Pose
|
4694cde027
|
Added debug_level module parameter. debug_level is now unsigned int.
|
2009-04-17 12:03:12 +00:00 |
Florian Pose
|
0dd5ec3567
|
DC sync reference clock to application time. TBC...
|
2009-04-09 18:21:18 +00:00 |
Florian Pose
|
de1a332eee
|
Introduced ecrt_master_sync() for synchronizing slave clocks to reference clock.
|
2009-04-09 10:21:47 +00:00 |
Florian Pose
|
7f97ba66a2
|
Renamed phy_ commands to reg_.
|
2009-04-08 12:48:59 +00:00 |
Florian Pose
|
a5752e0123
|
Preparations to compile against 2.6.27.
|
2009-03-09 09:08:09 +00:00 |
Florian Pose
|
12c12b1bab
|
Improved and added license headers.
|
2009-02-24 12:51:39 +00:00 |
Florian Pose
|
7a703ecb05
|
merge -c1616 branches/1.4-foe: Included FoE patch from Olav Zarges.
|
2009-01-26 13:01:58 +00:00 |
Florian Pose
|
723a9d66f4
|
merge -c1610 branches/stable-1.4: Added missing doxygen docs.
|
2009-01-26 11:58:35 +00:00 |
Florian Pose
|
121cfd7098
|
merge -c1606 branches/stable-1.4: Output vendor Id in hex.
|
2009-01-26 11:46:38 +00:00 |
Florian Pose
|
826ae37b26
|
merge -c1604 branches/stable-1.4: Fixed spelling of EtherCAT terms.
|
2009-01-26 11:45:30 +00:00 |
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 |
Florian Pose
|
8b8b470eaa
|
Introduced ec_master_find_slave().
|
2008-05-30 10:46:14 +00:00 |
Florian Pose
|
85e8f72c68
|
Output subindices with %02X.
|
2008-05-30 09:39:29 +00:00 |