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
be9e9fd07d
Avoid duplicate reconfiguration.
2008-06-27 07:22:02 +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
af2c4efc0e
Set slave_states to 0x00 when no slaves are present.
2008-06-18 09:27:04 +00:00
Florian Pose
e581c899f6
Minor change.
2008-06-12 13:03:50 +00:00
Florian Pose
a2dc5419b7
Minor change.
2008-06-12 11:53:06 +00:00
Florian Pose
2f836e6e32
Fixed bug in slave scanning, causing a segmentation fault.
2008-06-12 09:49:35 +00:00
Florian Pose
e4c9a82a56
Store slaves in an array instead of a list.
2008-06-12 09:32:25 +00:00
Florian Pose
b54bc11567
Replaced a few GFP_ATOMIC allocations with GFP_KERNEL ones.
2008-06-12 08:31:06 +00:00
Florian Pose
22fe4a1841
Removed kobjects from sdo and slave.
2008-06-12 07:15:54 +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
2a7a7e2e5c
Replaced misleading %i by %u.
2008-06-10 11:54:39 +00:00
Florian Pose
ee57578c05
Renamed some fields in ec_sii_request_t to word addressing.
2008-06-09 14:32:16 +00:00
Florian Pose
5160d6be02
process Sdo requests even with error_flag set.
2008-06-06 15:16:37 +00:00
Florian Pose
02079391de
configs_attached = 0.
2008-05-30 14:50:57 +00:00
Florian Pose
24ac60fdcc
Fetch Sdo dictionaries and process SII requests in operation mode.
2008-04-25 14:58:33 +00:00
Florian Pose
00d78d2566
Replaced self_configured flag with force_config flag.
2008-04-25 14:32:56 +00:00
Florian Pose
ff5dd7fe1c
Improved master state machine.
2008-04-25 14:07:38 +00:00
Florian Pose
0b9015848b
Removed slave online flag.
2008-04-25 12:45:44 +00:00
Florian Pose
ec02b717fa
Renamed state sdodict to sdo_dictionary.
2008-04-25 12:23:52 +00:00
Florian Pose
f28ee06308
Removed some debugging.
2008-04-25 12:18:46 +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
fc60cae9c7
Implemented Sdo timeout.
2008-04-03 14:08:08 +00:00
Florian Pose
f69b21af02
Renamed EEPROM to SII.
2008-03-17 09:38:48 +00:00
Florian Pose
f28f42ceb1
Introduced ec_sdo_request_state_t, making ec_request_t private again;
...
therefore added EC_REQUEST_INIT and renamed EC_REQUEST_IN_PROGRESS to
EC_REQUEST_BUSY and EC_REQUEST_COMPLETE to EC_REQUEST_SUCCESS.
2008-03-04 11:37:51 +00:00
Florian Pose
57094eaf48
Replaced ec_fsm_coe_\(upload\|download\)() with ec_fsm_coe_transfer();
...
reading and writing access possible.
2008-03-04 10:18:02 +00:00
Florian Pose
e90dab2a4e
Basic reading realtime Sdo access working.
2008-03-04 09:57:36 +00:00
Florian Pose
17069bcb70
Fixed bug if scanning is not allowed when link goes up.
2008-03-03 16:17:23 +00:00
Florian Pose
0b5b3b9e9b
Removed slave pointer from ec_sdo_request_t class.
2008-02-29 16:20:12 +00:00
Florian Pose
a4095b4201
Separated SII data from slave.
2008-02-27 15:24:00 +00:00
Florian Pose
397b5bf0cc
Reading of Pdo mapping via CoE during scan.
2008-02-26 16:58:20 +00:00
Florian Pose
5e22bcec73
Separated slave state machines.
2008-02-26 13:20:32 +00:00
Florian Pose
39f4da4d4f
Implemented missing datagram types.
2008-02-22 15:35:39 +00:00
Florian Pose
350c159a9d
Renamed [PS]DO to [PS]do.
2008-02-22 12:29:30 +00:00
Florian Pose
3a50cd0ff1
Allow bus configuration when link is down.
2008-02-19 09:58:48 +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
59d245a367
Changed unit of ec_eeprom_write_request_t from word to byte.
2007-09-24 07:54:51 +00:00
Florian Pose
8ee649a8c6
Minor debugging output changes.
2007-09-20 09:43:59 +00:00
Florian Pose
d7c42088c2
Read PDO mapping from SDO dictionary (working, not finished yet).
2007-09-19 17:44:28 +00:00
Florian Pose
0fe3931b47
Removed 'sdo' field from ec_sdo_request_t; Exported
...
ec_sdo_request_\(init_read|clear\)().
2007-09-19 17:25:48 +00:00
Florian Pose
56949fa400
Allow EEPROM writing when slave has error flag set.
2007-09-18 14:17:49 +00:00
Florian Pose
af076a36bc
Clear station addresses with broadcast before setting them.
2007-09-12 13:20:29 +00:00
Florian Pose
08c67e8f2e
Minor fix.
2007-09-12 13:12:38 +00:00
Florian Pose
c4b87f7317
Added --enable-eoe conditional.
2007-09-12 13:10:15 +00:00
Florian Pose
5bcf9d740f
Better handling of unexpected working counters; introduced
...
ec_datagram_print_wc_error().
2007-09-12 10:07:55 +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