Commit Graph

67 Commits

Author SHA1 Message Date
Florian Pose 605739d78a Introduced FORCE_OUTPUT_CORRUPTED. 2013-05-21 13:18:24 +02:00
Florian Pose f6f5460485 Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
Florian Pose d28370edd5 merge 2012-11-30 20:25:18 +01:00
Florian Pose 3cb0b12899 Added configure option for redundancy (--with-devices). 2012-11-30 20:15:31 +01:00
Florian Pose 7b0b85b506 Improved device member initialisation. 2012-11-30 12:11:28 +01:00
Florian Pose b0b7e6fde4 Removed trailing spaces. 2012-09-06 20:22:24 +02:00
Florian Pose f30e8a0572 Improved/fixed frame statistics (low-pass filters). 2012-03-19 10:43:09 +01:00
Florian Pose 6d932e88d5 Devices as array; lock all device modules with module_get(). 2012-01-12 12:14:33 +01:00
Florian Pose 2bb6c33d4e Output device name in link change message; fixed null-pointer protections. 2011-11-09 17:07:33 +01:00
Florian Pose ed7f9885b2 Adjusted frame statistics for the use with two devices. 2011-11-09 14:53:33 +01:00
Florian Pose ec84b03034 Master accepting two devices. 2011-11-09 12:05:44 +01:00
Florian Pose ba64ed28fc Fixed frame statistics overflow (to be verified). 2010-07-31 16:45:10 +02:00
Florian Pose 62b722ab33 Improved syslog macros. 2010-05-03 18:07:57 +02:00
Florian Pose d24bede41c Added missing code documentation. 2010-04-19 21:56:16 +02:00
Florian Pose 430b47d574 64 bit frame statistics. 2010-03-09 12:18:43 +01:00
Florian Pose 271d540f38 Output tx errors and tx rate in byte/s. 2010-03-09 10:22:32 +01:00
Florian Pose 79e2df1245 Fixed clearing frame statistics on link down. 2010-03-09 09:59:32 +01:00
Florian Pose a029de59e5 Clear frame statistics on link loss. 2010-03-08 08:01:26 +01:00
Florian Pose 5203433078 Fixed frame statistics. 2010-03-08 07:40:54 +01:00
Florian Pose 697124e23c Frame statistics in 'ethercat master' output. 2010-03-07 23:55:51 +01:00
Florian Pose 3a757b8dcc Print complete Ethernet frame during debug. 2009-11-05 09:25:25 +01:00
Florian Pose 4099c6905b Check for NULL pointer in ecdev_receive(). 2009-08-11 12:15:20 +00:00
Florian Pose 735f1efbc1 Removed unwanted tabulators. 2009-07-27 10:37:47 +00:00
Florian Pose a30c09c05b Implemented new network device operations for kernel 2.6.29, thanks to M. Goetze. 2009-06-16 08:30:49 +00:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +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 8e7a370756 Create debug interface with address of physical device on attachment. 2008-11-05 15:05:40 +00:00
Florian Pose cdd45226aa Disable use of CPU timestamp counter by default. 2008-06-19 10:18:58 +00:00
Florian Pose 0ef150c812 Renamed master 'mode' to 'phase'. 2008-06-18 13:33:50 +00:00
Florian Pose 06f499078d Improved ecdev_offer(). 2008-06-17 10:19:52 +00:00
Florian Pose 2a7a7e2e5c Replaced misleading %i by %u. 2008-06-10 11:54:39 +00:00
Florian Pose 608e64a788 Fixed source MAC address setting bug. 2007-10-02 08:35:01 +00:00
Florian Pose 2f2738ccd1 Send frame to debug-if and debug-ring only when transmitted
successfully.
2007-09-17 10:24:13 +00:00
Florian Pose 0d16910def Switched to tx socket buffer ring to avoid race conditions when multiple
instances call ec_device_send() in short intervals.
2007-08-09 15:45:56 +00:00
Florian Pose 68e6dfc108 Implemented debug frame ring to output the last n frames for debugging
reasons.
2007-08-09 15:01:14 +00:00
Florian Pose 2ce79f1433 Changed names of debug interfaces. 2007-08-08 13:58:24 +00:00
Florian Pose a5b9e7b556 Added --enable-dummy; renamed EC_DBG_IF to EC_DEBUG_IF, ENABLE_DEBUG_IF
conditional.
2007-08-07 07:54:51 +00:00
Florian Pose e5fc419e45 Replaced ecdev_link_state() with ecdev_set_link(); added
ecdev_get_link().
2007-07-25 12:52:06 +00:00
Florian Pose 7e373ee0c9 Removed faulty polling before device->open(). 2007-02-22 09:19:02 +00:00
Florian Pose 6c08745e55 Made master devices persistent; added ec_device_attach() and ec_device_detach(). 2007-02-20 17:15:43 +00:00
Florian Pose afd188c829 Minor change in device.c (removed unused header). 2007-02-20 09:37:57 +00:00
Florian Pose df9f71f93d Fixed invalid module pointer in device structure. 2007-02-09 09:52:43 +00:00
Florian Pose 291d63856b Replaced ec_isr_t by ec_pollfunc_t; added poll function s in network drivers. 2007-01-12 14:28:33 +00:00
Florian Pose 2568ef35d1 Added frame counter. 2006-11-21 15:46:21 +00:00
Florian Pose 302c2e77c7 Fixed serveral races while starting up under high CPU load. 2006-10-16 14:38:14 +00:00
Florian Pose d916522200 Debug interfaces not compiled by default. 2006-10-13 09:38:23 +00:00
Florian Pose 4e9ef991e3 Renamed ec_master_receive() to ec_master_receive_datagrams(). 2006-08-03 19:47:29 +00:00
Florian Pose 2916e10b50 Changed license headers and added EtherCAT license notice. 2006-05-18 12:35:47 +00:00
Florian Pose 6a12d7f440 Added debug interface for network monitors. 2006-05-11 13:29:06 +00:00