equal
deleted
inserted
replaced
487 // check, if slaves have an Sdo dictionary to read out. |
487 // check, if slaves have an Sdo dictionary to read out. |
488 for (slave = master->slaves; |
488 for (slave = master->slaves; |
489 slave < master->slaves + master->slave_count; |
489 slave < master->slaves + master->slave_count; |
490 slave++) { |
490 slave++) { |
491 if (!(slave->sii.mailbox_protocols & EC_MBOX_COE) |
491 if (!(slave->sii.mailbox_protocols & EC_MBOX_COE) |
|
492 || (slave->sii.has_general |
|
493 && !slave->sii.coe_details.enable_sdo_info) |
492 || slave->sdo_dictionary_fetched |
494 || slave->sdo_dictionary_fetched |
493 || slave->current_state == EC_SLAVE_STATE_INIT |
495 || slave->current_state == EC_SLAVE_STATE_INIT |
|
496 || slave->current_state == EC_SLAVE_STATE_UNKNOWN |
494 || jiffies - slave->jiffies_preop < EC_WAIT_SDO_DICT * HZ |
497 || jiffies - slave->jiffies_preop < EC_WAIT_SDO_DICT * HZ |
495 ) continue; |
498 ) continue; |
496 |
499 |
497 if (master->debug_level) { |
500 if (master->debug_level) { |
498 EC_DBG("Fetching Sdo dictionary from slave %u.\n", |
501 EC_DBG("Fetching Sdo dictionary from slave %u.\n", |