Changeset 23837


Ignore:
Timestamp:
2010-11-03T20:06:39+01:00 (5 years ago)
Author:
blogic
Message:

[ifxmips]

  • make dsl driver work with new kernel
Location:
trunk/package/ifxmips-dsl-api
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ifxmips-dsl-api/Config.in

    r20922 r23837  
    2020endchoice 
    2121 
    22 config IFXMIPS_DSL_FIRMWARE 
    23         bool "ifxmips-dsl firmware extractor" 
    24         default y 
    25         help 
    26           Say Y, if you need ifxmips-dsl to auto extract the firmware for you from the a800 firmware image 
     22#config IFXMIPS_DSL_FIRMWARE 
     23#       bool "ifxmips-dsl firmware extractor" 
     24#       default y 
     25#       help 
     26#         Say Y, if you need ifxmips-dsl to auto extract the firmware for you from the a800 firmware image 
    2727 
    2828config IFXMIPS_DSL_DEBUG 
  • trunk/package/ifxmips-dsl-api/Makefile

    r23739 r23837  
    4242  URL:=http://www.infineon.com/ 
    4343  MAINTAINER:=Infineon Technologies AG / Lantiq / John Crispin <blogic@openwrt.org> 
    44   DEPENDS:=@TARGET_ifxmips +kmod-atm @BROKEN 
     44  DEPENDS:=@TARGET_ifxmips +kmod-atm 
    4545  FILES:=$(PKG_BUILD_DIR)/src/mei/ifxmips_mei.ko \ 
    4646        $(PKG_BUILD_DIR)/src/drv_dsl_cpe_api.ko \ 
  • trunk/package/ifxmips-dsl-api/patches/100-dsl_compat.patch

    r21194 r23837  
    4040--- a/src/include/drv_dsl_cpe_os_linux.h 
    4141+++ b/src/include/drv_dsl_cpe_os_linux.h 
    42 @@ -24,7 +24,7 @@ 
     42@@ -17,17 +17,17 @@ 
     43 #endif 
     44  
     45 #include <asm/ioctl.h> 
     46-#include <linux/autoconf.h> 
     47+#include <generated/autoconf.h> 
     48 #include <linux/module.h> 
     49 #include <linux/kernel.h> 
     50 #include <linux/init.h> 
    4351 #include <linux/ctype.h> 
    4452 #include <linux/version.h> 
     
    4856  
    4957 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17)) 
    50     #include <linux/utsrelease.h> 
     58-   #include <linux/utsrelease.h> 
     59+   #include <generated/utsrelease.h> 
     60 #endif 
     61  
     62 #include <linux/types.h> 
     63--- a/src/mei/ifxmips_mei.c 
     64+++ b/src/mei/ifxmips_mei.c 
     65@@ -29,7 +29,7 @@ 
     66 #include <linux/kernel.h> 
     67 #include <linux/module.h> 
     68 #include <linux/version.h> 
     69-#include <linux/utsrelease.h> 
     70+#include <generated/utsrelease.h> 
     71 #include <linux/types.h> 
     72 #include <linux/fs.h> 
     73 #include <linux/mm.h> 
  • trunk/package/ifxmips-dsl-api/patches/500-portability.patch

    r21194 r23837  
    1 --- a/configure.in 
    2 +++ b/configure.in 
    3 @@ -310,7 +310,7 @@ dnl Set kernel build path 
     1Index: drv_dsl_cpe_api-3.24.4.4/configure.in 
     2=================================================================== 
     3--- drv_dsl_cpe_api-3.24.4.4.orig/configure.in  2009-08-13 13:39:21.000000000 +0200 
     4+++ drv_dsl_cpe_api-3.24.4.4/configure.in       2010-11-01 12:58:37.000000000 +0100 
     5@@ -310,7 +310,7 @@ 
    46 AC_ARG_ENABLE(kernelbuild, 
    57     AC_HELP_STRING(--enable-kernel-build=x,Set the target kernel build path), 
     
    1012         else 
    1113             AC_MSG_ERROR([The kernel build directory is not valid or not configured!]) 
    12 @@ -333,12 +333,12 @@ AC_ARG_ENABLE(ifxos-include, 
     14@@ -333,12 +333,12 @@ 
    1315             echo Set the lib_ifxos include path $enableval 
    1416             AC_SUBST([IFXOS_INCLUDE_PATH],[$enableval]) 
     
    2527     ] 
    2628 ) 
    27 @@ -1702,73 +1702,73 @@ dnl Set the configure params for dist ch 
     29@@ -1702,73 +1702,73 @@ 
    2830 AC_SUBST([DISTCHECK_CONFIGURE_PARAMS],[$CONFIGURE_OPTIONS]) 
    2931  
     
    166168  
    167169 AC_CONFIG_FILES([Makefile src/Makefile]) 
    168 --- a/src/Makefile.am 
    169 +++ b/src/Makefile.am 
    170 @@ -303,7 +303,7 @@ if KERNEL_2_6 
     170Index: drv_dsl_cpe_api-3.24.4.4/src/Makefile.am 
     171=================================================================== 
     172--- drv_dsl_cpe_api-3.24.4.4.orig/src/Makefile.am       2009-07-03 14:06:34.000000000 +0200 
     173+++ drv_dsl_cpe_api-3.24.4.4/src/Makefile.am    2010-11-01 12:58:37.000000000 +0100 
     174@@ -303,7 +303,7 @@ 
    171175 drv_dsl_cpe_api_OBJS = "$(subst .c,.o,$(filter %.c,$(drv_dsl_cpe_api_SOURCES)))" 
    172176  
     
    177181                echo "copy source files (as links only!)"; \ 
    178182                for f in $(filter %.c,$(drv_dsl_cpe_api_SOURCES)); do \ 
    179 @@ -311,10 +311,10 @@ drv_dsl_cpe_api.ko: $(drv_dsl_cpe_api_SO 
     183@@ -311,10 +311,10 @@ 
    180184                        cp -s $(addprefix @abs_srcdir@/,$$f) $(PWD)/`dirname $$f`/ ; \ 
    181185                done \ 
Note: See TracChangeset for help on using the changeset viewer.