32 * Removed 'bashisms' from init script ('function' keyword). |
32 * Removed 'bashisms' from init script ('function' keyword). |
33 * Fixed bug in e1000 drivers. Memory was allocated when sending the first |
33 * Fixed bug in e1000 drivers. Memory was allocated when sending the first |
34 frame. |
34 frame. |
35 * Modified licence headers to avoid conflicts with the GPL. |
35 * Modified licence headers to avoid conflicts with the GPL. |
36 * Restricted licence to GPLv2 only. |
36 * Restricted licence to GPLv2 only. |
|
37 * Fixed spelling of 'PDO', 'SDO' (all uppercase) and 'xx over EtherCAT' |
|
38 (without hyphens). |
37 |
39 |
38 Changes in 1.4.0-rc3: |
40 Changes in 1.4.0-rc3: |
39 |
41 |
40 * Ported the master thread to the kthread interface. |
42 * Ported the master thread to the kthread interface. |
41 * Added missing semaphore up() in an ioctl(). In rare cases, the master |
43 * Added missing semaphore up() in an ioctl(). In rare cases, the master |
42 semaphore was not released. |
44 semaphore was not released. |
43 * Minor fix in 'slaves' command that fixed duplicate display of supported |
45 * Minor fix in 'slaves' command that fixed duplicate display of supported |
44 mailbox protocols. |
46 mailbox protocols. |
45 * The Sdo Information Service is only queried, if the slave has the |
47 * The SDO Information Service is only queried, if the slave has the |
46 corresponding SII bit set. |
48 corresponding SII bit set. |
47 * Added some missing header files in the command-line-tool code. |
49 * Added some missing header files in the command-line-tool code. |
48 * Removed unstable e100, forcedeth, and r8169 drivers. |
50 * Removed unstable e100, forcedeth, and r8169 drivers. |
49 |
51 |
50 Changes in version 1.4.0-rc2: |
52 Changes in version 1.4.0-rc2: |
71 ecrt_slave_config_state(). |
73 ecrt_slave_config_state(). |
72 - Process data memory for a domain can now be allocated externally. This |
74 - Process data memory for a domain can now be allocated externally. This |
73 offers the possibility to use a shared-memory region. Therefore, |
75 offers the possibility to use a shared-memory region. Therefore, |
74 added the domain methods ecrt_domain_size() and |
76 added the domain methods ecrt_domain_size() and |
75 ecrt_domain_external_memory(). |
77 ecrt_domain_external_memory(). |
76 - Pdo entry registration functions do not return a process data pointer, |
78 - PDO entry registration functions do not return a process data pointer, |
77 but an offset in the domain's process data. In addition, an optional bit |
79 but an offset in the domain's process data. In addition, an optional bit |
78 position can be requested. This was necessary for the external domain |
80 position can be requested. This was necessary for the external domain |
79 memory. An additional advantage is, that the returned offset is |
81 memory. An additional advantage is, that the returned offset is |
80 immediately valid. If the domain's process data is allocated internally, |
82 immediately valid. If the domain's process data is allocated internally, |
81 the start address can be retrieved with ecrt_domain_data(). |
83 the start address can be retrieved with ecrt_domain_data(). |
82 - Replaced ecrt_slave_pdo_mapping/add/clear() with |
84 - Replaced ecrt_slave_pdo_mapping/add/clear() with |
83 ecrt_slave_config_pdo_assign_add() to add a Pdo to a sync manager's Pdo |
85 ecrt_slave_config_pdo_assign_add() to add a PDO to a sync manager's PDO |
84 assignment and ecrt_slave_config_pdo_mapping_add() to add a Pdo entry to a |
86 assignment and ecrt_slave_config_pdo_mapping_add() to add a PDO entry to a |
85 Pdo's mapping. ecrt_slave_config_pdos() is a convenience function |
87 PDO's mapping. ecrt_slave_config_pdos() is a convenience function |
86 for both, that uses the new data types ec_pdo_info_t and |
88 for both, that uses the new data types ec_pdo_info_t and |
87 ec_pdo_entry_info_t. Pdo entries, that are mapped with these functions |
89 ec_pdo_entry_info_t. PDO entries, that are mapped with these functions |
88 can now immediately be registered, even if the bus is offline. |
90 can now immediately be registered, even if the bus is offline. |
89 - Renamed ec_bus_status_t, ec_master_status_t to ec_bus_state_t and |
91 - Renamed ec_bus_status_t, ec_master_status_t to ec_bus_state_t and |
90 ec_master_state_t, respectively. Renamed ecrt_master_get_status() to |
92 ec_master_state_t, respectively. Renamed ecrt_master_get_status() to |
91 ecrt_master_state(), for consistency reasons. |
93 ecrt_master_state(), for consistency reasons. |
92 - Added ec_domain_state_t and ec_wc_state_t for a new output parameter |
94 - Added ec_domain_state_t and ec_wc_state_t for a new output parameter |
93 of ecrt_domain_state(). The domain state object does now contain |
95 of ecrt_domain_state(). The domain state object does now contain |
94 information, if the process data was exchanged completely. |
96 information, if the process data was exchanged completely. |
95 - Former "Pdo registration" meant Pdo entry registration in fact, therefore |
97 - Former "PDO registration" meant PDO entry registration in fact, therefore |
96 renamed ec_pdo_reg_t to ec_pdo_entry_reg_t and ecrt_domain_register_pdo() |
98 renamed ec_pdo_reg_t to ec_pdo_entry_reg_t and ecrt_domain_register_pdo() |
97 to ecrt_slave_config_reg_pdo_entry(). |
99 to ecrt_slave_config_reg_pdo_entry(). |
98 - Removed ecrt_domain_register_pdo_range(), because it's functionality can |
100 - Removed ecrt_domain_register_pdo_range(), because it's functionality can |
99 be reached by specifying an explicit Pdo assignment/mapping and |
101 be reached by specifying an explicit PDO assignment/mapping and |
100 registering the mapped Pdo entries. |
102 registering the mapped PDO entries. |
101 - Added an Sdo access interface, working with Sdo requests. These can be |
103 - Added an SDO access interface, working with SDO requests. These can be |
102 scheduled for reading and writing during realtime operation. |
104 scheduled for reading and writing during realtime operation. |
103 - Exported ecrt_slave_config_sdo(), the generic Sdo configuration function. |
105 - Exported ecrt_slave_config_sdo(), the generic SDO configuration function. |
104 - Removed the bus_state and bus_tainted flags from ec_master_state_t. |
106 - Removed the bus_state and bus_tainted flags from ec_master_state_t. |
105 * Device interface changes: |
107 * Device interface changes: |
106 - Moved device output parameter of ecdev_offer() to return value. |
108 - Moved device output parameter of ecdev_offer() to return value. |
107 * Replaced the Sysfs interface with a new 'ethercat' command-line tool, that |
109 * Replaced the Sysfs interface with a new 'ethercat' command-line tool, that |
108 communicates with the master via a character device and ioctls. The device |
110 communicates with the master via a character device and ioctls. The device |
111 - Show the bus configuration. |
113 - Show the bus configuration. |
112 - Output binary domain process data. |
114 - Output binary domain process data. |
113 - Set the master's debug level. |
115 - Set the master's debug level. |
114 - Show domain information. |
116 - Show domain information. |
115 - Show master information. |
117 - Show master information. |
116 - List Pdo assignment/mapping. |
118 - List PDO assignment/mapping. |
117 - Write an Sdo entry. |
119 - Write an SDO entry. |
118 - List Sdo dictionaries. |
120 - List SDO dictionaries. |
119 - Read an Sdo entry. |
121 - Read an SDO entry. |
120 - Output a slave's SII contents. |
122 - Output a slave's SII contents. |
121 - Write slave's SII contents. |
123 - Write slave's SII contents. |
122 - Show slaves. |
124 - Show slaves. |
123 - Request slave states. |
125 - Request slave states. |
124 - Generate slave information xmls. |
126 - Generate slave information xmls. |
125 * Removed include/ecdb.h. |
127 * Removed include/ecdb.h. |
126 * Using the timestamp counter is now optional (configure --enable-cycles), |
128 * Using the timestamp counter is now optional (configure --enable-cycles), |
127 because it is only available on Intel architectures. |
129 because it is only available on Intel architectures. |
128 * Sdo dictionaries will now also be fetched in operation mode. |
130 * SDO dictionaries will now also be fetched in operation mode. |
129 * SII write requests will now also be processed in operation mode. |
131 * SII write requests will now also be processed in operation mode. |
130 * Mapping of Pdo entries is now supported. |
132 * Mapping of PDO entries is now supported. |
131 * Current Pdo assignment/mapping is now read via CoE during bus scan, using |
133 * Current PDO assignment/mapping is now read via CoE during bus scan, using |
132 direct Sdo access, independent of the dictionary. |
134 direct SDO access, independent of the dictionary. |
133 * Network driver news: |
135 * Network driver news: |
134 - Added 8139too driver for kernel 2.6.22, thanks to Erwin Burgstaller. |
136 - Added 8139too driver for kernel 2.6.22, thanks to Erwin Burgstaller. |
135 - Added 8139too driver for kernel 2.6.23, thanks to Richard Hacker. |
137 - Added 8139too driver for kernel 2.6.23, thanks to Richard Hacker. |
136 - Added 8139too driver for kernel 2.6.24. |
138 - Added 8139too driver for kernel 2.6.24. |
137 - Added e1000 driver for kernel 2.6.22. |
139 - Added e1000 driver for kernel 2.6.22. |
149 later during realtime operation. The state of the configuration can be |
151 later during realtime operation. The state of the configuration can be |
150 queried via the ecrt_domain_state() and ecrt_slave_config_state() functions. |
152 queried via the ecrt_domain_state() and ecrt_slave_config_state() functions. |
151 * Added support for slaves that do not support the LRW datagram type. Separate |
153 * Added support for slaves that do not support the LRW datagram type. Separate |
152 domains have to be used for inputs and output. |
154 domains have to be used for inputs and output. |
153 * CoE implementation: |
155 * CoE implementation: |
154 - Use expedites transfer type for Sdos <= 4 byte (thanks to J. Mohre). |
156 - Use expedites transfer type for SDOs <= 4 byte (thanks to J. Mohre). |
155 - Allow gaps in Pdo mapping (thanks to R. Roesch). |
157 - Allow gaps in PDO mapping (thanks to R. Roesch). |
156 - Added some transfer timeouts. |
158 - Added some transfer timeouts. |
157 - Ansynchronous handling of Emergency requests. |
159 - Ansynchronous handling of Emergency requests. |
158 - Bugfixes. |
160 - Bugfixes. |
159 * Sync managers are disabled, if the size is zero. |
161 * Sync managers are disabled, if the size is zero. |
160 * Renamed ec_master module parameters main and backup to main_devices and |
162 * Renamed ec_master module parameters main and backup to main_devices and |