aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-vmmc/patches/100-ifxmips.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-05-29 21:19:26 +0000
committerJohn Crispin <blogic@openwrt.org>2011-05-29 21:19:26 +0000
commit9af744afe836c76a099b67a7ea976724b1363923 (patch)
treeb9da76295132f5efbc18c34b9de3db80de664403 /package/ltq-vmmc/patches/100-ifxmips.patch
parentc4509d34ea9afc5e373c353c48ccdf327f58217e (diff)
downloadupstream-9af744afe836c76a099b67a7ea976724b1363923.tar.gz
upstream-9af744afe836c76a099b67a7ea976724b1363923.tar.bz2
upstream-9af744afe836c76a099b67a7ea976724b1363923.zip
[lantiq]
* backport 2.6.8 patches to .39 / .32.33 * remove lqtapi * bump tapi/dsl to .39 * migrate to new ltq_ style api * add amazon_se support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27026 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ltq-vmmc/patches/100-ifxmips.patch')
-rw-r--r--package/ltq-vmmc/patches/100-ifxmips.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/ltq-vmmc/patches/100-ifxmips.patch b/package/ltq-vmmc/patches/100-ifxmips.patch
index 95974ecbaf..a6d1c00392 100644
--- a/package/ltq-vmmc/patches/100-ifxmips.patch
+++ b/package/ltq-vmmc/patches/100-ifxmips.patch
@@ -33,7 +33,7 @@
#if defined SYSTEM_DANUBE
-#include <asm/ifx/ifx_gpio.h>
-+#include <xway/xway.h>
++#include <lantiq_soc.h>
+
#else
#error no system selected
@@ -158,7 +158,7 @@
+# define ifx_gptu_timer_free lq_free_timer
+
+
-+# define bsp_mask_and_ack_irq lq_mask_and_ack_irq
++# define bsp_mask_and_ack_irq ltq_mask_and_ack_irq
+#else
+# include <asm/ifx/ifx_regs.h>
+# include <asm/ifx/ifx_gptu.h>
@@ -443,14 +443,14 @@
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28))
+IFX_uint32_t ifx_get_cp1_size(IFX_void_t)
+{
-+ return 2;
++ return 1;
+}
+
-+unsigned int *lq_get_cp1_base(void);
++unsigned int *ltq_get_cp1_base(void);
+
+IFX_uint32_t *ifx_get_cp1_base(IFX_void_t)
+{
-+ return lq_get_cp1_base();
++ return ltq_get_cp1_base();
+}
+#endif
+
@@ -501,7 +501,7 @@
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28))
+# include <lantiq.h>
+# include <irq.h>
-+# include <xway/xway.h>
++# include <lantiq_soc.h>
+# include <gpio.h>
+#define IFXMIPS_MPS_SRAM ((u32 *)(KSEG1 + 0x1F200000))
+#define IFXMIPS_MPS_BASE_ADDR (KSEG1 + 0x1F107000)