lantiq: ltq-vdsl-mei: enable vectoring support
authorFelix Fietkau <nbd@openwrt.org>
Sat, 5 Dec 2015 09:52:36 +0000 (09:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 5 Dec 2015 09:52:36 +0000 (09:52 +0000)
Dynamic Spectrum Management is a precondition for G.993.5 (VDSL2 vectoring).

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47784

package/kernel/lantiq/ltq-vdsl-mei/Makefile
package/kernel/lantiq/ltq-vdsl-mei/patches/100-compat.patch

index 5ff13214836bf181126004de509ef0376de49e45..64a7cf3026d18abfd4f700cfcf923c6714b1bff8 100644 (file)
@@ -62,7 +62,7 @@ CONFIGURE_ARGS += \
        --enable-error_print \
        --enable-ifxos-include="-I$(STAGING_DIR)/usr/include/ifxos/" \
        --enable-ifxos-library="-L$(STAGING_DIR)/usr/lib" \
-       --enable-add_drv_cflags="-DMEI_SUPPORT_DSM=0 -DMEI_DRV_ATM_PTM_INTERFACE_ENABLE=1 -fno-pic -mlong-calls -O2 -g0" \
+       --enable-add_drv_cflags="-DMEI_DRV_ATM_PTM_INTERFACE_ENABLE=1 -fno-pic -mlong-calls -O2 -g0" \
        --enable-linux-26 \
        --enable-kernelbuild="$(LINUX_DIR)" \
        --enable-drv_test_appl=yes \
index 0273d19850c237cb1ec962370d75357ced8a3b8c..c4013780522cec01ffa1ffd6434573e81cf49427 100644 (file)
  }
  
  IFX_int32_t MEI_PLL_ConfigInit(MEI_DEV_T *pMeiDev)
+--- a/src/drv_mei_cpe_dsm.c
++++ b/src/drv_mei_cpe_dsm.c
+@@ -138,7 +138,7 @@ IFX_void_t MEI_VRX_DSM_DataInit(MEI_DEV_
+    memset((IFX_uint8_t *)&pMeiDev->firmwareFeatures, 0x00, sizeof(IOCTL_MEI_firmwareFeatures_t));
+    pMeiDev->meiFwDlCount = 0;
+-   pMeiDev->meiERBbuf.pCallBackFunc = mei_dsm_cb_func_hook;
++   pMeiDev->meiERBbuf.pCallBackFunc = NULL;
+    PRN_DBG_USR_NL( MEI_DRV, MEI_DRV_PRN_LEVEL_NORMAL,
+             ("MEI_DRV: PP callback function addr = 0x%08X" MEI_DRV_CRLF,