100-compat.patch 1.0 KB

12345678910111213141516171819202122
  1. --- a/src/dsl_cpe_init_cfg.c
  2. +++ b/src/dsl_cpe_init_cfg.c
  3. @@ -38,7 +38,7 @@ DSL_InitData_t gInitCfgData =
  4. DSL_DEV_HS_TONE_GROUP_CLEANED, \
  5. DSL_DEV_HS_TONE_GROUP_CLEANED, \
  6. DSL_DEV_HS_TONE_GROUP_CLEANED, \
  7. - 0x1E116000, 0x37, -1),
  8. + 0x1E116000, 0x3f, -1),
  9. DSL_CPE_SIC_SET(DSL_TC_ATM, DSL_EMF_TC_CLEANED, DSL_EMF_TC_CLEANED, DSL_SYSTEMIF_MII, \
  10. DSL_TC_EFM, DSL_EMF_TC_CLEANED, DSL_EMF_TC_CLEANED, DSL_SYSTEMIF_MII),
  11. DSL_CPE_MAC_CFG_SET(DSL_EFM_SPEED_100, DSL_EFM_DUPLEX_FULL, DSL_EFM_FLOWCTRL_ON, DSL_EFM_AUTONEG_OFF, \
  12. --- a/src/dsl_cpe_control.c
  13. +++ b/src/dsl_cpe_control.c
  14. @@ -6761,7 +6761,7 @@ DSL_int_t dsl_cpe_daemon (
  15. for (nDevice = 0; nDevice < DSL_CPE_MAX_DSL_ENTITIES; nDevice++)
  16. {
  17. #if defined(INCLUDE_DSL_CPE_API_VRX)
  18. - sprintf (device, "%s/%d", DSL_CPE_DEVICE_NAME, nDevice);
  19. + sprintf (device, "%s%d", DSL_CPE_DEVICE_NAME, nDevice);
  20. #else
  21. sprintf (device, "%s", DSL_CPE_DEVICE_NAME);
  22. #endif /* defined(INCLUDE_DSL_CPE_API_VRX)*/