Commit Graph

59 Commits

Author SHA1 Message Date
Florian Pose 7b4542ac81 merge -c1605 branches/stable-1.4: Output ioctl() debugging in hex. 2009-01-26 11:46:02 +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 fae8df09b0 Included ecrt_voe_handler_read_nosync()-Patch by Mathias Weber. 2008-11-18 11:13:49 +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 59f197a6f0 Fixed page fault handler. 2008-10-21 09:26:19 +00:00
Florian Pose dd257c430d Use .fault handler instead of .nopage handler from 2.6.23. 2008-10-16 09:21:30 +00:00
Florian Pose 7c3d71913c Maintained code docs. 2008-10-15 10:01:54 +00:00
Florian Pose d31df920e8 Implemented VoE handler in userspace. 2008-10-14 13:35:35 +00:00
Florian Pose ca0a3dcf1b Added state functions; writing of process data works. 2008-10-10 09:37:06 +00:00
Florian Pose 4e6e86c808 Memory-mapped process data. 2008-10-10 08:34:15 +00:00
Florian Pose 95e60a2fec Added some slave configuration methods. 2008-10-09 13:31:50 +00:00
Florian Pose fb34ddb1f2 Activate, Send and received; cyclic timer with setitimer(). 2008-10-02 13:40:23 +00:00
Florian Pose 9e69d015b6 Creating slave configurations. 2008-10-02 10:45:40 +00:00
Florian Pose cd4bb0a38b No kernel handles in userspace; Domain creation. 2008-10-02 10:19:02 +00:00
Florian Pose a4ea4a4590 First version of userspace library with requesting/releasing. 2008-10-01 14:42:28 +00:00
Florian Pose ac42abd286 Added missing up(). 2008-09-29 09:51:48 +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 99f622f1e8 Fixed missing up(). 2008-08-08 12:44:40 +00:00
Florian Pose 6db63d096d Use down_interruptible() wherever possible. 2008-08-01 12:46:26 +00:00
Florian Pose b46070f279 Removed sync manager assign source. 2008-08-01 09:32:35 +00:00
Florian Pose 1f6e89a89f Display real ethernet address. 2008-07-28 13:23:07 +00:00
Florian Pose 373d8a7475 Fixed requested_state. 2008-07-25 14:14:47 +00:00
Florian Pose 4f81ef3ede Renamed state field to al_state. 2008-07-25 09:08:12 +00:00
Florian Pose 95d9d821cc Show attached slave position and state in 'ethercat config'. 2008-07-25 08:54:59 +00:00
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 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 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 444802186b Operational flag in 'ethercat config'. 2008-06-26 13:42:23 +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 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 0ef150c812 Renamed master 'mode' to 'phase'. 2008-06-18 13:33:50 +00:00
Florian Pose d7790d1d18 Removed some unnecessary code. 2008-06-18 08:59:00 +00:00
Florian Pose 985470c9b6 Removed EC_IOCTL_DOMAIN_COUNT. 2008-06-12 09:44:18 +00:00
Florian Pose d254ec906b Removed unnecessary code. 2008-06-12 09:19:06 +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 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 0ee1c38030 Implemented SII read. 2008-06-09 13:45:22 +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 a85f8fc5d5 Implemented sdo_upload command. 2008-06-06 15:13:25 +00:00
Florian Pose 9329e1727e Implemented Sdo dictionary info via 'ethercat sdos'. 2008-06-06 09:27:24 +00:00