Commit Graph

390 Commits

Author SHA1 Message Date
Florian Pose 70482be0ac Added parameters for vendor ID and product code to ecrt_get_slave(); PDO
registration functions now take a slave pointer as argument; changed
values for ec_bus_status_t.
2007-03-09 10:24:50 +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 d77267e81c Implemented alternative PDO mapping configuration interface. 2007-03-07 17:37:21 +00:00
Florian Pose 4d79363e75 Fixed sync manager freeing bug coming up in r833. 2007-03-07 15:29:02 +00:00
Florian Pose cea235a427 Removed obsolete ec_slave_sync_config(). 2007-03-07 13:56:00 +00:00
Florian Pose e14a82d992 Layed out FMMU structure and methods to own files. 2007-03-07 13:29:29 +00:00
Florian Pose a5eabfa35d Moved a few constants to the files they are needed in. 2007-03-07 13:12:33 +00:00
Florian Pose 89dd4e09b6 Layed out sync manager structures and methods into own files. 2007-03-07 13:06:40 +00:00
Florian Pose ff176f5542 Layed out PDO structures to own files. 2007-03-07 11:46:02 +00:00
Florian Pose 762b0d2cf8 Renamed ec_sii_sync_t to ec_sync_t. 2007-03-07 11:30:09 +00:00
Florian Pose 667e0f3e13 Renamed ec_sii_pdo_t and ec_sii_pdo_entry_t to ec_pdo_t and
ec_pdo_entry_t, respectively.
2007-03-07 11:18:34 +00:00
Florian Pose 0ffba7a923 Simplified handling of EEPROM strings. 2007-03-07 11:11:17 +00:00
Florian Pose bfb1beeb5f Renamed slave configuration states "sync" to "mbox_sync" and "sync2" to
"pdo_sync".
2007-03-06 15:11:44 +00:00
Florian Pose 924ebcd8c6 Renamed SII fetching functions (non-functional). 2007-03-06 10:37:56 +00:00
Florian Pose 71f2050fa4 Introduced ec_slave_get_pdo_sync(). 2007-03-06 09:15:12 +00:00
Florian Pose b75973f27f SII sync managers as array instead of list, removed sync manager
guessing, ignoring base_sync_count.
2007-03-06 09:06:01 +00:00
Florian Pose b0487a7fe4 Removed unnecessary edge in slave configuration FSM graph. 2007-03-05 14:59:23 +00:00
Florian Pose e3afb9e9fb Removed ugly ec_slave_has_subbus() function. 2007-03-05 11:34:52 +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 43075a1589 Corrected type of online_state. 2007-03-05 10:00:18 +00:00
Florian Pose b0285d88a9 Introduced ec_slave_online_state_t, ec_slave_set_online_state(), renamed
slave->online to ec_online_state and introduced
ec_slave_set_app_state().
2007-03-05 09:55:39 +00:00
Florian Pose 62e1adca17 Moved state request on PDO registration to slave.c. 2007-03-05 09:10:02 +00:00
Florian Pose d8d30c4a1f Implemented alias reading/writing via sysfs. 2007-03-02 15:43:45 +00:00
Florian Pose 94866f4bca Minor changes in EEPROM write code. 2007-03-02 14:47:09 +00:00
Florian Pose 65572b43d7 Fixed signal issue in EEPROM writing code. 2007-03-02 14:35:49 +00:00
Florian Pose 6ad6b0cb0b Fixed possible race with next request pointer again. 2007-03-02 08:45:21 +00:00
Florian Pose d2094a18e5 Fixed possible bug in master FSM concerning unqueueing of EEPROM write
requests.
2007-03-02 07:45:00 +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 e1315d14f4 Made data pointer in ec_fsm_sii_write() const. 2007-03-01 21:23:07 +00:00
Florian Pose 04056ce182 ec_slave_write_eeprom now returns certain error codes. 2007-03-01 15:03:08 +00:00
Florian Pose 9afbed92d2 Removed eeprom_write_enable file. 2007-03-01 14:50:53 +00:00
Florian Pose e3412a4c2f Completely removed ecrt_slave_pdo_size() code. 2007-02-28 09:22:03 +00:00
Florian Pose 53c66dad4f Added datagram state to "Failed to receive..." messages. 2007-02-22 13:39:19 +00:00
Florian Pose 7e373ee0c9 Removed faulty polling before device->open(). 2007-02-22 09:19:02 +00:00
Florian Pose 7b59f69823 Destroy slaves when leaving idle mode. 2007-02-21 13:43:47 +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 046d9e7cd5 Added ec_device_id_print(). 2007-02-20 13:40:30 +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 afd188c829 Minor change in device.c (removed unused header). 2007-02-20 09:37:57 +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 cef0cc6409 Removed ec_eoeif_count parameter from master module. 2007-02-16 13:30:46 +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 8e2a5258cc Introduced topology_change_pending to delay bus scanning until IDLE mode
has been reached.
2007-02-13 10:51:40 +00:00
Florian Pose 9a5fcf81f7 Minor: Removed warning when EoE interface is up upon master unloading. 2007-02-12 14:42:36 +00:00
Florian Pose 9a9e5d719c Fixed bug causing unloading of realtime module being very slow after topology change. 2007-02-12 11:15:23 +00:00
Florian Pose 6d74555dad schedule() other processes while waiting in ec_master_sync_io(). 2007-02-12 11:12:00 +00:00