lantiq: update packages for v3.10
authorJohn Crispin <john@openwrt.org>
Tue, 17 Sep 2013 21:45:56 +0000 (21:45 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 17 Sep 2013 21:45:56 +0000 (21:45 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38028

package/kernel/lantiq/ltq-atm/Makefile
package/kernel/lantiq/ltq-deu/Makefile
package/kernel/lantiq/ltq-hcd/Makefile
package/kernel/lantiq/ltq-ptm/Makefile
package/kernel/lantiq/ltq-tapi/patches/300-linux-310.patch [new file with mode: 0644]
package/kernel/lantiq/ltq-vdsl-fw/Makefile
package/kernel/lantiq/ltq-vdsl-mei/Makefile
package/kernel/lantiq/ltq-vdsl/Makefile
package/kernel/lantiq/ltq-vmmc/Makefile
package/kernel/lantiq/ltq-vmmc/patches/200-linux-310.patch [new file with mode: 0644]

index e6e0059..c557ee5 100644 (file)
@@ -23,13 +23,13 @@ define KernelPackage/ltq-atm-template
   VARIANT:=$(1)
   DEPENDS:=@TARGET_lantiq_$(2) +kmod-atm +br2684ctl
   FILES:=$(PKG_BUILD_DIR)/ltq_atm_$(1).ko
-  AUTOLOAD:=$(call AutoLoad,52,ltq_atm_$(1))
+  AUTOLOAD:=$(call AutoProbe,ltq_atm_$(1))
 endef
 
 KernelPackage/ltq-atm-danube=$(call KernelPackage/ltq-atm-template,danube,xway)
 KernelPackage/ltq-atm-ar9=$(call KernelPackage/ltq-atm-template,ar9,xway)
 KernelPackage/ltq-atm-ase=$(call KernelPackage/ltq-atm-template,ase,ase)
-KernelPackage/ltq-atm-vr9=$(call KernelPackage/ltq-atm-template,vr9,xway)
+KernelPackage/ltq-atm-vr9=$(call KernelPackage/ltq-atm-template,vr9,xrx200)
 
 define Build/Prepare
        $(INSTALL_DIR) $(PKG_BUILD_DIR) 
index 5e2683f..53ad0fa 100644 (file)
@@ -21,14 +21,14 @@ define KernelPackage/ltq-deu-template
   TITLE:=deu driver for $(1)
   URL:=http://www.lantiq.com/
   VARIANT:=$(1)
-  DEPENDS:=@TARGET_lantiq_xway +kmod-crypto-manager
+  DEPENDS:=@TARGET_lantiq_$(2) +kmod-crypto-manager
   FILES:=$(PKG_BUILD_DIR)/ltq_deu_$(1).ko $(PKG_BUILD_DIR)/ltq_deu_testmgr.ko
-  AUTOLOAD:=$(call AutoLoad,52,ltq_deu_$(1))
+  AUTOLOAD:=$(call AutoProbe,ltq_deu_$(1))
 endef
 
-KernelPackage/ltq-deu-danube=$(call KernelPackage/ltq-deu-template,danube)
-KernelPackage/ltq-deu-ar9=$(call KernelPackage/ltq-deu-template,ar9)
-KernelPackage/ltq-deu-vr9=$(call KernelPackage/ltq-deu-template,vr9)
+KernelPackage/ltq-deu-danube=$(call KernelPackage/ltq-deu-template,danube,xway)
+KernelPackage/ltq-deu-ar9=$(call KernelPackage/ltq-deu-template,ar9,xway)
+KernelPackage/ltq-deu-vr9=$(call KernelPackage/ltq-deu-template,vr9,xrx200)
 
 define Build/Prepare
        $(INSTALL_DIR) $(PKG_BUILD_DIR)
index 6b00e67..8918568 100644 (file)
@@ -23,14 +23,14 @@ define KernelPackage/ltq-hcd-template
   VARIANT:=$(1)
   DEPENDS:=@TARGET_lantiq_$(2) +kmod-usb-core
   FILES:=$(PKG_BUILD_DIR)/ltq_hcd_$(1).ko
-  AUTOLOAD:=$(call AutoLoad,50,ltq_hcd_$(1),1)
+  AUTOLOAD:=$(call AutoProbe,ltq_hcd_$(1),1)
 endef
 
 KernelPackage/ltq-hcd-ase=$(call KernelPackage/ltq-hcd-template,ase,ase)
 KernelPackage/ltq-hcd-danube=$(call KernelPackage/ltq-hcd-template,danube,xway)
 KernelPackage/ltq-hcd-ar9=$(call KernelPackage/ltq-hcd-template,ar9,xway)
-KernelPackage/ltq-hcd-vr9=$(call KernelPackage/ltq-hcd-template,vr9,xway)
-KernelPackage/ltq-hcd-ar10=$(call KernelPackage/ltq-hcd-template,ar10,xway)
+KernelPackage/ltq-hcd-vr9=$(call KernelPackage/ltq-hcd-template,vr9,xrx200)
+KernelPackage/ltq-hcd-ar10=$(call KernelPackage/ltq-hcd-template,ar10,xrx200)
 
 define Build/Prepare
        $(INSTALL_DIR) $(PKG_BUILD_DIR)
index f0fb25a..22f09cc 100644 (file)
@@ -24,13 +24,13 @@ define KernelPackage/ltq-ptm-template
   VARIANT:=$(1)
   DEPENDS:=@TARGET_lantiq_$(2)
   FILES:=$(PKG_BUILD_DIR)/ltq_ptm_$(1).ko 
-  AUTOLOAD:=$(call AutoLoad,52,ltq_ptm_$(1))
+  AUTOLOAD:=$(call AutoProbe,ltq_ptm_$(1))
 endef
 
 KernelPackage/ltq-ptm-danube=$(call KernelPackage/ltq-ptm-template,danube,xway)
 KernelPackage/ltq-ptm-ar9=$(call KernelPackage/ltq-ptm-template,ar9,xway)
 KernelPackage/ltq-ptm-ase=$(call KernelPackage/ltq-ptm-template,ase,ase)
-KernelPackage/ltq-ptm-vr9=$(call KernelPackage/ltq-ptm-template,vr9,xway)
+KernelPackage/ltq-ptm-vr9=$(call KernelPackage/ltq-ptm-template,vr9,xrx200)
 
 define Build/Prepare
        $(INSTALL_DIR) $(PKG_BUILD_DIR)
diff --git a/package/kernel/lantiq/ltq-tapi/patches/300-linux-310.patch b/package/kernel/lantiq/ltq-tapi/patches/300-linux-310.patch
new file mode 100644 (file)
index 0000000..ac72515
--- /dev/null
@@ -0,0 +1,13 @@
+Index: drv_tapi-3.13.0/src/drv_tapi_linux.c
+===================================================================
+--- drv_tapi-3.13.0.orig/src/drv_tapi_linux.c  2013-09-05 22:28:16.868419283 +0200
++++ drv_tapi-3.13.0/src/drv_tapi_linux.c       2013-09-05 22:32:37.396425814 +0200
+@@ -93,6 +93,8 @@
+ #include "drv_tapi_announcements.h"
+ #endif /* TAPI_ANNOUNCEMENTS */
++#undef CONFIG_PROC_FS
++
+ #define TAPI_IOCTL_STACKSIZE                 4000 /* allow some overhead 4 k */
+ /* ================================== */
index d4e0023..6404067 100644 (file)
@@ -17,7 +17,7 @@ define Package/ltq-vdsl-vr9-fw-installer
   TITLE:=Firmware installer
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=@TARGET_lantiq_xway +kmod-ltq-vdsl-vr9
+  DEPENDS:=@TARGET_lantiq_xrx200 +kmod-ltq-vdsl-vr9
 endef
 
 define Build/Prepare
index 8561573..608b320 100644 (file)
@@ -23,7 +23,7 @@ define KernelPackage/ltq-vdsl-vr9-mei
   TITLE:=mei driver for vdsl
   SECTION:=sys
   SUBMENU:=Network Devices
-  DEPENDS:=@TARGET_lantiq_xway +kmod-ltq-ifxos
+  DEPENDS:=@TARGET_lantiq_xrx200 +kmod-ltq-ifxos
   FILES:=$(PKG_BUILD_DIR)/src/drv_mei_cpe.ko
   AUTOLOAD:=$(call AutoLoad,50,drv_mei_cpe)
 endef
index 9f1e268..e946927 100644 (file)
@@ -24,7 +24,7 @@ define KernelPackage/ltq-vdsl-vr9
   TITLE:=vdsl driver
   SECTION:=sys
   SUBMENU:=Network Devices
-  DEPENDS:=@TARGET_lantiq_xway +kmod-ltq-vdsl-vr9-mei
+  DEPENDS:=@TARGET_lantiq_xrx200 +kmod-ltq-vdsl-vr9-mei
   FILES:=$(PKG_BUILD_DIR)/src/drv_dsl_cpe_api.ko
   AUTOLOAD:=$(call AutoLoad,51,drv_dsl_cpe_api)
 endef
index 98355b1..1708652 100644 (file)
@@ -26,7 +26,7 @@ define KernelPackage/ltq-vmmc
   URL:=http://www.lantiq.com/
   DEPENDS:=$(LTQ_TAPI_TARGET) +kmod-ltq-tapi
   FILES:=$(PKG_BUILD_DIR)/src/drv_vmmc.ko
-  AUTOLOAD:=$(call AutoLoad,25,drv_vmmc)
+  AUTOLOAD:=$(call AutoProbe,drv_vmmc)
 endef
 
 define KernelPackage/ltq-vmmc/description
diff --git a/package/kernel/lantiq/ltq-vmmc/patches/200-linux-310.patch b/package/kernel/lantiq/ltq-vmmc/patches/200-linux-310.patch
new file mode 100644 (file)
index 0000000..70f8829
--- /dev/null
@@ -0,0 +1,33 @@
+Index: drv_vmmc-1.9.0/src/drv_vmmc_linux.c
+===================================================================
+--- drv_vmmc-1.9.0.orig/src/drv_vmmc_linux.c   2013-09-05 22:34:31.920428685 +0200
++++ drv_vmmc-1.9.0/src/drv_vmmc_linux.c        2013-09-05 22:35:54.940430772 +0200
+@@ -54,6 +54,8 @@
+ #include "drv_vmmc_res.h"
+ #endif /* (VMMC_CFG_FEATURES & VMMC_FEAT_HDLC) */
++#undef VMMC_USE_PROC
++
+ /* ============================= */
+ /* Local Macros & Definitions    */
+ /* ============================= */
+Index: drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_linux.c
+===================================================================
+--- drv_vmmc-1.9.0.orig/src/mps/drv_mps_vmmc_linux.c   2013-09-05 22:34:31.988428687 +0200
++++ drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_linux.c        2013-09-05 22:54:01.544458009 +0200
+@@ -80,11 +80,15 @@
+ /* ============================= */
+ #define IFX_MPS_DEV_NAME       "ifx_mps"
++#undef CONFIG_MPS_HISTORY_SIZE
++#define CONFIG_MPS_HISTORY_SIZE 0
+ #ifndef CONFIG_MPS_HISTORY_SIZE
+ #define CONFIG_MPS_HISTORY_SIZE 128
+ #warning CONFIG_MPS_HISTORY_SIZE should have been set via cofigure - setting to default 128
+ #endif
++#undef CONFIG_PROC_FS
++
+ /* ============================= */
+ /* Global variable definition    */
+ /* ============================= */