Changeset 21194


Ignore:
Timestamp:
2010-04-27T16:08:38+02:00 (6 years ago)
Author:
ralph
Message:

[ifxmips-dsl-api] fix .32 kernel, add support for .33 kernel

Location:
trunk/package/ifxmips-dsl-api
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ifxmips-dsl-api/Makefile

    r21107 r21194  
    1818PKG_MD5SUM:=c45bc531c1ed2ac80f68fb986b63bb87 
    1919 
     20ifeq ($(DUMP),) 
     21  STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell grep '^CONFIG_IFXMIPS_DSL_' $(TOPDIR)/.config | md5s) 
     22endif 
     23 
    2024FW_BASE_NAME:=dsl_danube_firmware_adsl 
    2125FW_A_VER:=02.04.04.00.00.01 
     
    2529FW_A_MD5:=f717db3067a0049a26e233ab11238710 
    2630FW_B_MD5:=349de7cd20368f4ac9b7e8322114a512 
     31 
     32PATCH_DIR ?= ./patches$(if $(wildcard ./patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) 
    2733 
    2834include $(INCLUDE_DIR)/package.mk 
  • trunk/package/ifxmips-dsl-api/patches/100-dsl_compat.patch

    r20463 r21194  
    3838 } 
    3939  
     40--- a/src/include/drv_dsl_cpe_os_linux.h 
     41+++ b/src/include/drv_dsl_cpe_os_linux.h 
     42@@ -24,7 +24,7 @@ 
     43 #include <linux/ctype.h> 
     44 #include <linux/version.h> 
     45 #include <linux/spinlock.h> 
     46- 
     47+#include <linux/sched.h> 
     48  
     49 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17)) 
     50    #include <linux/utsrelease.h> 
  • trunk/package/ifxmips-dsl-api/patches/500-portability.patch

    r20554 r21194  
    11--- a/configure.in 
    22+++ b/configure.in 
     3@@ -310,7 +310,7 @@ dnl Set kernel build path 
     4 AC_ARG_ENABLE(kernelbuild, 
     5     AC_HELP_STRING(--enable-kernel-build=x,Set the target kernel build path), 
     6     [ 
     7-        if test -e $enableval/include/linux/autoconf.h; then 
     8+        if test -e $enableval/include/linux/autoconf.h -o -e $enableval/include/generated/autoconf.h; then 
     9             AC_SUBST([KERNEL_BUILD_PATH],[$enableval]) 
     10         else 
     11             AC_MSG_ERROR([The kernel build directory is not valid or not configured!]) 
    312@@ -333,12 +333,12 @@ AC_ARG_ENABLE(ifxos-include, 
    413             echo Set the lib_ifxos include path $enableval 
Note: See TracChangeset for help on using the changeset viewer.