equal
deleted
inserted
replaced
199 |
199 |
200 void __exit cleanup_mini_module(void) |
200 void __exit cleanup_mini_module(void) |
201 { |
201 { |
202 printk(KERN_INFO "=== Stopping Minimal EtherCAT environment... ===\n"); |
202 printk(KERN_INFO "=== Stopping Minimal EtherCAT environment... ===\n"); |
203 |
203 |
204 if (master) { |
204 del_timer_sync(&timer); |
205 del_timer_sync(&timer); |
205 printk(KERN_INFO "Releasing master...\n"); |
206 printk(KERN_INFO "Deactivating master...\n"); |
206 ecrt_release_master(master); |
207 ecrt_master_deactivate(master); |
|
208 ecrt_release_master(master); |
|
209 } |
|
210 |
207 |
211 printk(KERN_INFO "=== Minimal EtherCAT environment stopped. ===\n"); |
208 printk(KERN_INFO "=== Minimal EtherCAT environment stopped. ===\n"); |
212 } |
209 } |
213 |
210 |
214 /*****************************************************************************/ |
211 /*****************************************************************************/ |