Changeset 26023


Ignore:
Timestamp:
2011-03-11T09:21:21+01:00 (7 years ago)
Author:
blogic
Message:

[lantiq]

  • fixes dsl, ifxos, tapi and vmcc for .37
Location:
trunk/package
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ltq-dsl/patches/100-dsl_compat.patch

    r24526 r26023  
    2020 #include "drv_dsl_cpe_api.h" 
    2121 #include "drv_dsl_cpe_api_ioctl.h" 
    22 @@ -1058,6 +1059,7 @@ static void DSL_DRV_DebugInit(void) 
     22@@ -72,7 +73,7 @@ 
     23    open:    DSL_DRV_Open, 
     24    release: DSL_DRV_Release, 
     25    write:   DSL_DRV_Write, 
     26-   ioctl:   DSL_DRV_Ioctls, 
     27+   unlocked_ioctl:   DSL_DRV_Ioctls, 
     28    poll:    DSL_DRV_Poll 
     29 }; 
     30 #else 
     31@@ -1058,6 +1059,7 @@ 
    2332 /* Entry point of driver */ 
    2433 int __init DSL_ModuleInit(void) 
     
    2837  
    2938    printk(DSL_DRV_CRLF DSL_DRV_CRLF "Infineon CPE API Driver version: %s" DSL_DRV_CRLF, 
    30 @@ -1104,7 +1106,8 @@ int __init DSL_ModuleInit(void) 
     39@@ -1104,7 +1106,8 @@ 
    3140    } 
    3241  
  • trunk/package/ltq-dsl/src/ifxmips_atm_core.c

    r24526 r26023  
    24042404    /*  create devices  */ 
    24052405    for ( port_num = 0; port_num < ATM_PORT_NUMBER; port_num++ ) { 
    2406         g_atm_priv_data.port[port_num].dev = atm_dev_register("ifxmips_atm", &g_ifx_atm_ops, -1, NULL); 
     2406        g_atm_priv_data.port[port_num].dev = atm_dev_register("ifxmips_atm", NULL, &g_ifx_atm_ops, -1, NULL); 
    24072407        if ( !g_atm_priv_data.port[port_num].dev ) { 
    24082408            err("failed to register atm device %d!", port_num); 
  • trunk/package/ltq-dsl/src/lantiq_mei.c

    r24526 r26023  
    201201      release:IFX_MEI_Release, 
    202202      write:IFX_MEI_Write, 
    203       ioctl:IFX_MEI_UserIoctls, 
     203      unlocked_ioctl:IFX_MEI_UserIoctls, 
    204204}; 
    205205 
  • trunk/package/ltq-tapi/Makefile

    r25275 r26023  
    2323  TITLE:=Lantiq TAPI subsystem 
    2424  URL:=http://www.lantiq.com/ 
    25   DEPENDS:=+kmod-ltq-ifxos @TARGET_lantiq 
     25  DEPENDS:=+kmod-ltq-ifxos @TARGET_lantiq_xway 
    2626  FILES:=$(PKG_BUILD_DIR)/src/drv_tapi.ko 
    2727  AUTOLOAD:=$(call AutoLoad,20,drv_tapi) 
  • trunk/package/ltq-vmmc/Config.in

    r25275 r26023  
    22        prompt "device selection" 
    33        depends on PACKAGE_kmod-ltq-vmmc 
    4         default VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract 
     4        default VOICE_CPE_VMMC_WITH_DEVICE_DANUBE 
    55        help 
    66                Select the target device. 
    7  
    8         config VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract 
    9                 bool "Danube, Twinpass, Vinax - extract binaries" 
    107 
    118        config VOICE_CPE_VMMC_WITH_DEVICE_DANUBE 
  • trunk/package/ltq-vmmc/Makefile

    r25275 r26023  
    2323  TITLE:=TAPI LL driver for Voice Macro 
    2424  URL:=http://www.lantiq.com/ 
    25   DEPENDS:=+kmod-ltq-tapi @TARGET_lantiq 
     25  DEPENDS:=+kmod-ltq-tapi @TARGET_lantiq_xway 
    2626  FILES:=$(PKG_BUILD_DIR)/src/drv_vmmc.ko 
    2727  AUTOLOAD:=$(call AutoLoad,25,drv_vmmc) 
     
    6767 
    6868FW_DIR:=lib/firmware 
    69 ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract),y) 
    70   CONFIGURE_ARGS += --with-device=DANUBE 
    71   FW_TARGET:=danube_firmware.bin 
    72   FW_SOURCE:=danube_firmware.bin 
    73   FW_URL:=http://www.arcor.de/hilfe/files/pdf/ 
    74   FW_FILE=arcor_A800_452CPW_FW_1.02.206(20081201).bin 
    75   FW_MD5SUM:=19d9af4e369287a0f0abaed415cdac10 
    76   COEF_TARGET:=danube_bbd_fxs.bin 
    77   COEF_FILE:=arcor_A800_452CPW_FW_1.02.206(20081201).bin 
    78   COEF_MD5SUM:=19d9af4e369287a0f0abaed415cdac10 
    79 endif 
    8069 
    8170ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE),y) 
     
    9887  CONFIGURE_ARGS += --with-device=VR9 
    9988  # TODO: add fw/coef 
    100 endif 
    101  
    102 ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract),y) 
    103 define Download/decode 
    104   FILE:=ifxmips_fw_decodev2.tar.bz2 
    105   URL:=http://downloads.openwrt.org/sources/ 
    106   MD5SUM:=9f4ebfae5cb9d9e8fca46057a653ae27 
    107 endef 
    108 $(eval $(call Download,decode)) 
    10989endif 
    11090 
     
    130110                $(PKG_BUILD_DIR)/coef \ 
    131111                $(PKG_BUILD_DIR)/firmware 
    132 ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract),y) 
    133         $(PLATFORM_DIR)/extract.sh $(DL_DIR) '$(FW_FILE)'  
    134         $(CP) $(DL_DIR)/voip.bin $(PKG_BUILD_DIR)/firmware/$(FW_TARGET) 
    135         $(CP) $(DL_DIR)/voip_coef.bin $(PKG_BUILD_DIR)/coef/$(COEF_TARGET) 
    136 else 
    137112        $(TAR) -C $(PKG_BUILD_DIR)/firmware -xvzf $(DL_DIR)/$(FW_FILE) 
    138113        $(TAR) -C $(PKG_BUILD_DIR)/coef -xvzf $(DL_DIR)/$(COEF_FILE) 
    139 endif 
    140114        (cd $(PKG_BUILD_DIR); aclocal && autoconf && automake) 
    141115        $(call Build/Configure/Default) 
Note: See TracChangeset for help on using the changeset viewer.