equal
deleted
inserted
replaced
327 goto out_release_master; |
327 goto out_release_master; |
328 |
328 |
329 #if 1 |
329 #if 1 |
330 // configure SYNC signals for this slave |
330 // configure SYNC signals for this slave |
331 ecrt_slave_config_dc_assign_activate(sc, 0x0700); |
331 ecrt_slave_config_dc_assign_activate(sc, 0x0700); |
332 ecrt_slave_config_dc_sync_cycle_times(sc, 1000000, 0); |
332 ecrt_slave_config_dc_sync_signals(sc, 1000000, 440000, 0, 0); |
333 ecrt_slave_config_dc_sync_shift_times(sc, 440000, 0); |
|
334 #endif |
333 #endif |
335 |
334 |
336 printk(KERN_INFO PFX "Activating master...\n"); |
335 printk(KERN_INFO PFX "Activating master...\n"); |
337 if (ecrt_master_activate(master)) { |
336 if (ecrt_master_activate(master)) { |
338 printk(KERN_ERR PFX "Failed to activate master!\n"); |
337 printk(KERN_ERR PFX "Failed to activate master!\n"); |