equal
deleted
inserted
replaced
609 unsigned int bit_offset, bit_pos; |
609 unsigned int bit_offset, bit_pos; |
610 ec_pdo_t *pdo; |
610 ec_pdo_t *pdo; |
611 ec_pdo_entry_t *entry; |
611 ec_pdo_entry_t *entry; |
612 int sync_offset; |
612 int sync_offset; |
613 |
613 |
|
614 if (sc->master->debug_level) |
|
615 EC_DBG("ecrt_slave_config_reg_pdo_entry(sc = 0x%x, index = 0x%04X, " |
|
616 "subindex = 0x%02X, domain = 0x%x, bit_position = 0x%x)\n", |
|
617 (unsigned int) sc, index, subindex, (unsigned int) domain, |
|
618 (unsigned int) bit_position); |
|
619 |
614 for (dir = EC_DIR_OUTPUT; dir <= EC_DIR_INPUT; dir++) { |
620 for (dir = EC_DIR_OUTPUT; dir <= EC_DIR_INPUT; dir++) { |
615 pdos = &sc->pdos[dir]; |
621 pdos = &sc->pdos[dir]; |
616 bit_offset = 0; |
622 bit_offset = 0; |
617 list_for_each_entry(pdo, &pdos->list, list) { |
623 list_for_each_entry(pdo, &pdos->list, list) { |
618 list_for_each_entry(entry, &pdo->entries, list) { |
624 list_for_each_entry(entry, &pdo->entries, list) { |