mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-22 01:53:54 +08:00
Renamed ecrt_slave_config_sync_managers() to ecrt_slave_config_pdos();
Added EC_MAX_SYNC_MANAGERS to ecrt.h.
This commit is contained in:
@@ -320,7 +320,7 @@ int __init init_mini_module(void)
|
||||
|
||||
#ifdef CONFIGURE_PDOS
|
||||
printk(KERN_INFO PFX "Configuring Pdos...\n");
|
||||
if (ecrt_slave_config_sync_managers(sc_ana_in, EC_END, el3162_syncs)) {
|
||||
if (ecrt_slave_config_pdos(sc_ana_in, EC_END, el3162_syncs)) {
|
||||
printk(KERN_ERR PFX "Failed to configure Pdos.\n");
|
||||
goto out_release_master;
|
||||
}
|
||||
@@ -331,7 +331,7 @@ int __init init_mini_module(void)
|
||||
goto out_release_master;
|
||||
}
|
||||
|
||||
if (ecrt_slave_config_sync_managers(sc, EC_END, el2004_syncs)) {
|
||||
if (ecrt_slave_config_pdos(sc, EC_END, el2004_syncs)) {
|
||||
printk(KERN_ERR PFX "Failed to configure Pdos.\n");
|
||||
goto out_release_master;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user