Commit Graph

218 Commits

Author SHA1 Message Date
Florian Pose 593a5fda9c Changed terms "Pdo mapping" -> "Pdo assignment" and "Pdo configuration"
-> "Pdo mapping"; created ecrt_slave_config_pdo_assign_clear() and
ecrt_slave_config_pdo_mapping_clear().
2008-04-03 13:34:13 +00:00
Florian Pose c543a04c51 Fixed general flags on big-endian archs. 2008-03-18 11:15:22 +00:00
Florian Pose f4199b7f60 Fixed bug in copying sync managers. Now making a deep copy. 2008-03-17 14:16:16 +00:00
Florian Pose f69b21af02 Renamed EEPROM to SII. 2008-03-17 09:38:48 +00:00
Florian Pose 77c29c0418 Added some const's. 2008-03-17 09:06:21 +00:00
Florian Pose dabaab4410 Allow multiple sync manager categories. 2008-03-17 09:05:13 +00:00
Florian Pose 6af7a39cf3 Minor change. 2008-03-04 14:03:45 +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 a0068ca2d4 Improved error messages on EEPROM writing. 2008-03-04 08:52:39 +00:00
Florian Pose 6b62545584 Renamed ec_pdo_mapping_find_pdo() to ec_pdo_mapping_find_pdo_const(). 2008-02-28 13:41:02 +00:00
Florian Pose e3be6cf8be Renamed ec_pdo_mapping_add_pdo() to ec_pdo_mapping_add_pdo_copy(). 2008-02-28 11:23:34 +00:00
Florian Pose c26c91c4a0 Display notLRW flag. 2008-02-28 11:06:14 +00:00
Florian Pose 95e6dc8d2b Evaluate CoE details from general category; moved current consumption
into general category info.
2008-02-28 10:58:43 +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 350c159a9d Renamed [PS]DO to [PS]do. 2008-02-22 12:29:30 +00:00
Florian Pose 0921c356a1 Fixed typo SAVEOP -> SAFEOP. 2008-02-22 11:33:49 +00:00
Florian Pose ea7aa51ed1 Pdo configuration. 2008-02-19 14:06:50 +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 7c267ee50b Esthetic surgery for slave. 2008-02-01 21:22:22 +00:00
Florian Pose 47f79011a4 Detection of page exceeding slave information file. 2008-01-08 16:19:28 +00:00
Florian Pose 0ef1a10a1f Ouput identity object indented in slave info file. 2007-10-05 08:13:16 +00:00
Florian Pose fbb18a0fab Minor output changes in slave info file. 2007-10-05 07:42:47 +00:00
Florian Pose c650941baf Re-ordered slave info file. 2007-10-04 08:38:05 +00:00
Florian Pose 10655b7db3 Store PDO mapping source in sync manager. 2007-10-04 08:09:41 +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 028bd21678 Minor: renamed [RT]XPDO to [RT]xPdo. 2007-09-20 13:05:38 +00:00
Florian Pose 70a945fd7c Minor comment change. 2007-09-20 12:33:58 +00:00
Florian Pose 8986c8b183 Minor: Again moved setting of alternate PDO mapping flag. 2007-09-20 10:15:21 +00:00
Florian Pose 289c68d727 Minor: Moved setting of alternate PDO mapping flag. 2007-09-20 10:05:37 +00:00
Florian Pose 27ebca0d9c Improved checking of EEPROM data while reading. 2007-09-20 09:12:27 +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 2a9c3f1fd2 Added ec_slave_get_sdo() and ec_sdo_get_entry(). 2007-09-19 17:32:39 +00:00
Florian Pose 0ef6a7360d Calculate checksum when writing EEPROM or alias address. 2007-09-19 09:37:01 +00:00
Florian Pose fde0c0977f Avoid warnings on some compilers. 2007-09-18 14:18:30 +00:00
Florian Pose 1c2ac14987 Limited EEPROM reading; added EC_FIRST_EEPROM_CATEGORY_HEADER define. 2007-08-10 13:35:11 +00:00
Florian Pose e17ebc9764 Configure alternative PDO mapping only on slaves that have PDO sync
managers.
2007-03-16 13:39:19 +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 467dfa260e Renamed names of enum type ec_request_state_t. 2007-03-12 11:02:05 +00:00
Florian Pose 8c9fec5ce0 Renamed ec_eeprom_request_state_t enum to ec_request_state_t and made it
global.
2007-03-09 14:00:32 +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 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 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 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 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 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 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 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 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 16684ccffd Minor changes to slave.c 2007-01-10 10:51:43 +00:00
Florian Pose 9ff5f1348b Re-added slave.configured flag as slave.self_configured. 2007-01-09 14:36:08 +00:00
Florian Pose ec252a2df6 Removed slave.configured flag. 2007-01-09 13:57:34 +00:00
Florian Pose 5d927adad9 Display requested state in slave info. 2007-01-09 13:42:38 +00:00
Florian Pose b00258a4d8 Current consumption in sysfs; "lsec -c" shows current consumption and remaining current. 2006-12-08 11:52:33 +00:00
Florian Pose e3b241a79a kobject_add() in constructors. 2006-11-06 14:22:35 +00:00
Florian Pose 286825d02a Added clear function for SDO kobject. 2006-11-06 14:19:03 +00:00
Florian Pose 9c59a83aca Remove estimated sync manager sizes when leaving operation mode. 2006-10-30 15:39:03 +00:00
Florian Pose d301450949 BUGFIX: Remove SDO configurations when leaving OPERATION mode. 2006-10-27 15:04:12 +00:00
Florian Pose 4b9ee9b959 SDO configurations in Sysfs. 2006-10-27 15:01:32 +00:00
Florian Pose 1f44556083 Print certain warnings only at debug_level. 2006-10-27 13:59:49 +00:00
Florian Pose 7a114fdb9d Added slave flags to Sysfs. 2006-10-27 13:20:16 +00:00
Florian Pose 131589f534 FIX: Introduced destroy() functions for kobject-derived classes and thus fixed memory leak. 2006-10-27 09:19:58 +00:00
Florian Pose b6e88ad403 Persistent slave lists. 2006-10-26 16:29:26 +00:00
Florian Pose cd884f45d0 Better debugging output for SDO dictionaries. 2006-10-20 12:33:48 +00:00
Florian Pose c800b84949 Reconfiguration of slaves, though they are in the correct state at startup. 2006-10-20 10:48:30 +00:00
Florian Pose e33b75b2b5 Moved SDO dictionary fetching to master FSMs; added SDO parent kobj. 2006-10-19 14:23:24 +00:00
Florian Pose 7642448f62 Fixed memory leak in master and slave destructors. 2006-10-19 14:05:56 +00:00
Florian Pose 5d90e96f72 ecrt_domain_register_pdo_range() implemented. 2006-10-18 13:11:48 +00:00
Florian Pose dafb6721a3 Added FMMU debugging. 2006-10-18 11:50:31 +00:00
Florian Pose 41a6b5bfee Added ec_slave_validate() 2006-10-18 08:59:53 +00:00
Florian Pose 25964ccc9a Implemented fetching of SDO dictionary. 2006-10-17 14:50:04 +00:00
Florian Pose 9c7dd75ed9 Removed clear functions from headers of kobject-classes. 2006-10-17 14:19:59 +00:00
Florian Pose 3dc90146fd Added EC_SLAVE_STATE_ACK_ERR to ec_state_string(); added EC_STATE_STRING_SIZE 2006-10-17 14:15:48 +00:00
Florian Pose 1c3ada4e59 Corrected subbus product code. 2006-10-17 07:27:05 +00:00
Florian Pose e0a3174a9b Removed varsized_fields 2006-10-17 07:25:13 +00:00
Florian Pose 0c02680146 Added ec_slave_has_subbus() 2006-10-13 09:45:22 +00:00
Florian Pose 46b98fdbb1 Coupler information in slave info file, lines in lsec. 2006-09-11 08:52:41 +00:00
Florian Pose c30ed6a8c1 Removed unused code. 2006-08-15 09:36:56 +00:00
Florian Pose 7aa7a95c2e Added missing code documentation. 2006-08-09 15:00:20 +00:00
Florian Pose aaea721316 Minor changes. 2006-08-08 12:07:25 +00:00
Florian Pose a02e21fbfc Minor fix: Output of SysFS accepting new slave state. 2006-08-04 09:35:32 +00:00
Florian Pose 32d3bc8d0f SDO configuration interface, SDO download state machine. 2006-08-03 16:48:53 +00:00
Florian Pose 258b4d998d VERSION 1.1: New realtime interface, only state machines. 2006-08-03 12:51:17 +00:00