Florian Pose
488bf0a640
Moved threads to kthread interface.
2008-10-01 14:37:34 +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
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
c233259931
Removed state machine cycle time measuring.
2008-06-19 10:22:24 +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
25ffc9f638
Create class device with device_number information in sysfs.
2008-06-17 12:49:06 +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
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
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
3b4cae9626
Added the new ethercat comman-line tool with lsec functionality.
2008-05-29 15:11:26 +00:00
Florian Pose
80c1bf823d
Removed bus validation; slave configuration during realtime operation;
...
improved scan/config busy flags.
2008-04-25 12:04:23 +00:00
Florian Pose
1d70bd0145
Equalized defines against duplicated header inclusion.
2008-04-03 15:49:24 +00:00
Florian Pose
f69b21af02
Renamed EEPROM to SII.
2008-03-17 09:38:48 +00:00
Florian Pose
0b5b3b9e9b
Removed slave pointer from ec_sdo_request_t class.
2008-02-29 16:20:12 +00:00
Florian Pose
350c159a9d
Renamed [PS]DO to [PS]do.
2008-02-22 12:29:30 +00:00
Florian Pose
6189092aed
Implemented most realtime interface changes for version 1.4, improved
...
ec_pdo_t and ec_pdo_entry_t classes, added fmmu_config_t, adjusted
minimal example, etc...
2008-02-19 08:22:20 +00:00
Florian Pose
c5b3ade0c0
Updated Doxygen documentation.
2007-09-24 12:12:11 +00:00
Florian Pose
7597e2795e
Store skipped information in datagrams; name datagrams for statistics
...
output.
2007-09-12 14:06:35 +00:00
Florian Pose
c4b87f7317
Added --enable-eoe conditional.
2007-09-12 13:10:15 +00:00
Florian Pose
c9c595f94e
Introduced frames_timed_out flag to notice bus failure when link down is
...
not detected.
2007-05-03 14:29:21 +00:00
Florian Pose
9466d51185
Dynamic creation of EoE handlers.
2007-03-16 14:00:12 +00:00
Florian Pose
f5a7e78786
Slave configuration exclusively from master thread; removed
...
ec_master_sync_io(); introduced events in the master state machine;
locking of slave scanning and slave configuration through allow_scan
and allow_config flags.
2007-03-12 18:21:42 +00:00
Florian Pose
6ef75e4d45
Replaced master variable 'atomic_t available' by integer and used
...
semaphore in module.c instead.
2007-03-12 08:42:02 +00:00
Florian Pose
2907aebfdf
Implemented SDO reading with wait queues.
2007-03-09 15:11:29 +00:00
Florian Pose
b0c1fbaeb0
Removed X:Y addressing scheme, ec_slave_is_coupler(),
...
ec_master_calc_addressing(), coupler_index and coupler_subindex variables.
Adapted lsec script and examples.
2007-03-09 13:24:15 +00:00
Florian Pose
8ac6516b4e
Allow only MAC addresses as device identifiers; replaced master list by
...
master array; hand ober MAC addresses with array module parameters.
2007-03-08 18:15:25 +00:00
Florian Pose
37baf012fb
Removed ecrt_master_run(), removed datagram queueing from state
...
machines, added datagram injection, two different master thread
functions.
2007-03-08 13:02:42 +00:00
Florian Pose
b4bfda2e62
Introduced master status, ecrt_master_get_status(), tainted flag,
...
pdos_registered flags and pdo_slaves_offline counter.
2007-03-05 10:35:50 +00:00
Florian Pose
2ec4d25fce
Introduced EEPROM write requests: EEPROM write operations from user
...
space are now queued and block until completion. Also, appropriate error
codes are returned.
2007-03-01 21:34:10 +00:00
Florian Pose
9afbed92d2
Removed eeprom_write_enable file.
2007-03-01 14:50:53 +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
b1a770729c
Removed ktype for module kobject; added backup device for master; device
...
connection information and IDs in master info file.
2007-02-20 13:42:44 +00:00
Florian Pose
27f9a4af2d
New module file /sys/ethercat, masters moved to /sys/ethercat/masterX.
2007-02-20 11:28:15 +00:00
Florian Pose
383a1f7631
Layed out device ID functionality in own files.
2007-02-20 09:43:23 +00:00
Florian Pose
0f53f8fa3e
Introduced device IDs; removed comment lines from 8139too; removed
...
ec_eoeif_count parameter.
2007-02-16 17:13:39 +00:00
Florian Pose
2cbddbb9d1
Removed XML device from master structure.
2007-02-16 13:23:57 +00:00
Florian Pose
e643409867
Made ec_sync_config() and ec_fmmu_config() to methods of ec_slave_t.
2007-02-13 11:48:46 +00:00
Florian Pose
df1cc1d939
Layed out slave state machines in own files fsm_slave.[ch]; renamed fsm.[ch] to fsm_master.[ch]
2007-01-10 16:32:06 +00:00
Florian Pose
ea7e0ca982
Master workqueue replaced with kernel thread.
2007-01-10 10:45:57 +00:00
Florian Pose
c0f6188104
Interface changes for version 1.2, see NEWS file.
2006-11-24 11:02:35 +00:00
Florian Pose
bae7fb4e90
Introduced "starved" datagrams.
2006-11-21 15:13:48 +00:00