diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/lantiq/ltq-vdsl/Makefile | 6 | ||||
-rw-r--r-- | package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch | 44 |
2 files changed, 38 insertions, 12 deletions
diff --git a/package/kernel/lantiq/ltq-vdsl/Makefile b/package/kernel/lantiq/ltq-vdsl/Makefile index 528f99a5a4..7e891d6f4c 100644 --- a/package/kernel/lantiq/ltq-vdsl/Makefile +++ b/package/kernel/lantiq/ltq-vdsl/Makefile @@ -1,5 +1,5 @@ # Copyright (C) 2012 OpenWrt.org -# Copyright (C) 2015 Lantiq Beteiligungs GmbH & Co KG. +# Copyright (C) 2015-2016 Lantiq Beteiligungs GmbH & Co KG. # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=ltq-vdsl-vr9 -PKG_VERSION:=4.16.6.3 +PKG_VERSION:=4.17.18.6 PKG_RELEASE:=1 PKG_BASE_NAME:=drv_dsl_cpe_api PKG_SOURCE:=$(PKG_BASE_NAME)_vrx-$(PKG_VERSION).tar.gz PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_BASE_NAME)-$(PKG_VERSION) PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources -PKG_MD5SUM:=5b15a866bb1939c333d30a1b7f9e7856 +PKG_MD5SUM:=72bb0218a7cbd2ea860bff4acc1c511e PKG_USE_MIPS16:=0 diff --git a/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch b/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch index 4af07da370..a8ce61fa36 100644 --- a/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch +++ b/package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch @@ -1,14 +1,14 @@ --- a/src/Makefile.in +++ b/src/Makefile.in -@@ -63,7 +63,7 @@ POST_UNINSTALL = : +@@ -117,7 +117,7 @@ POST_UNINSTALL = : # the headerfile of linux kernels 2.6.x contain to much arithmetic # with void pointers (which is allowed for gcc!) -@KERNEL_2_6_FALSE@am__append_6 = -Wpointer-arith +@KERNEL_2_6_FALSE@am__append_6 = subdir = src - DIST_COMMON = $(drv_dsl_cpe_api_include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/configure.in --- a/src/common/drv_dsl_cpe_os_linux.c +++ b/src/common/drv_dsl_cpe_os_linux.c @@ -11,6 +11,7 @@ @@ -19,7 +19,7 @@ #include "drv_dsl_cpe_api.h" #include "drv_dsl_cpe_api_ioctl.h" -@@ -238,14 +239,7 @@ static DSL_long_t DSL_DRV_Ioctls(DSL_DRV +@@ -249,14 +250,7 @@ static DSL_long_t DSL_DRV_Ioctls(DSL_DRV } #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) @@ -35,9 +35,9 @@ #endif if (pINode == DSL_NULL) -@@ -1118,6 +1112,9 @@ static void DSL_DRV_DebugInit(void) - return; +@@ -1203,6 +1197,9 @@ static void DSL_DRV_NlSendMsg(DSL_char_t } + #endif +static struct class *dsl_class; +static dev_t dsl_devt; @@ -45,7 +45,7 @@ /* Entry point of driver */ int __init DSL_ModuleInit(void) { -@@ -1156,6 +1153,10 @@ int __init DSL_ModuleInit(void) +@@ -1241,6 +1238,10 @@ int __init DSL_ModuleInit(void) DSL_DRV_DevNodeInit(); @@ -56,7 +56,7 @@ return 0; } -@@ -1163,6 +1164,11 @@ void __exit DSL_ModuleCleanup(void) +@@ -1248,6 +1249,11 @@ void __exit DSL_ModuleCleanup(void) { printk("Module will be unloaded"DSL_DRV_CRLF); @@ -66,5 +66,31 @@ + dsl_class = NULL; + unregister_chrdev(nMajorNum, DRV_DSL_CPE_API_DEV_NAME); - + DSL_DRV_Cleanup(); +--- a/src/device/drv_dsl_cpe_device_vrx.c ++++ b/src/device/drv_dsl_cpe_device_vrx.c +@@ -5337,6 +5337,7 @@ DSL_Error_t DSL_DRV_DEV_HybridTypeGet( + #undef DSL_DBG_BLOCK + #define DSL_DBG_BLOCK DSL_DBG_NOTIFICATIONS + ++#if 0 + DSL_Error_t DSL_DRV_DEV_MeiTcLayerSignaling + ( + DSL_Context_t *pContext, +@@ -5384,6 +5385,15 @@ DSL_Error_t DSL_DRV_DEV_MeiTcLayerSignal + + return nErrCode; + } ++#else ++DSL_Error_t DSL_DRV_DEV_MeiTcLayerSignaling ++( ++ DSL_Context_t *pContext, ++ DSL_TcLayerSelection_t nTcLayer) ++{ ++ return DSL_SUCCESS; ++} ++#endif + + DSL_Error_t DSL_DRV_DEV_MeiShowtimeSignaling + ( |