From: Felix Fietkau Date: Sat, 5 Dec 2015 09:52:36 +0000 (+0000) Subject: lantiq: ltq-vdsl-mei: enable vectoring support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ee7f0ec473a66da2e95e168e054d498e26f419bd;p=openwrt%2Fstaging%2Flinusw.git lantiq: ltq-vdsl-mei: enable vectoring support Dynamic Spectrum Management is a precondition for G.993.5 (VDSL2 vectoring). Signed-off-by: Mathias Kresin SVN-Revision: 47784 --- diff --git a/package/kernel/lantiq/ltq-vdsl-mei/Makefile b/package/kernel/lantiq/ltq-vdsl-mei/Makefile index 5ff1321483..64a7cf3026 100644 --- a/package/kernel/lantiq/ltq-vdsl-mei/Makefile +++ b/package/kernel/lantiq/ltq-vdsl-mei/Makefile @@ -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 \ diff --git a/package/kernel/lantiq/ltq-vdsl-mei/patches/100-compat.patch b/package/kernel/lantiq/ltq-vdsl-mei/patches/100-compat.patch index 0273d19850..c401378052 100644 --- a/package/kernel/lantiq/ltq-vdsl-mei/patches/100-compat.patch +++ b/package/kernel/lantiq/ltq-vdsl-mei/patches/100-compat.patch @@ -308,3 +308,14 @@ } 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,