aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-12-05 09:52:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-12-05 09:52:36 +0000
commit09a2257c19a88a1747bb115a8d9ad82ff96413b2 (patch)
tree1740adadfdac96ba43399f8d163b389db8f62996
parent88d2ed113453e97d369bb3a1a61fbd5bb89b2085 (diff)
downloadmaster-187ad058-09a2257c19a88a1747bb115a8d9ad82ff96413b2.tar.gz
master-187ad058-09a2257c19a88a1747bb115a8d9ad82ff96413b2.tar.bz2
master-187ad058-09a2257c19a88a1747bb115a8d9ad82ff96413b2.zip
lantiq: ltq-vdsl-mei: enable vectoring support
Dynamic Spectrum Management is a precondition for G.993.5 (VDSL2 vectoring). Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47784 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/lantiq/ltq-vdsl-mei/Makefile2
-rw-r--r--package/kernel/lantiq/ltq-vdsl-mei/patches/100-compat.patch11
2 files changed, 12 insertions, 1 deletions
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,