summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-3.0/530-register_tapi.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-10-10 15:13:46 +0000
committerJohn Crispin <john@openwrt.org>2011-10-10 15:13:46 +0000
commit0a866293bd9e204978c995cb0545c20f8ab63c7e (patch)
tree7d7a9ef25035a4afd4b371b85506fe062bac125a /target/linux/lantiq/patches-3.0/530-register_tapi.patch
parent1359fe4fcf0a6cef3eced837d63c866cc75a52fc (diff)
downloadmtk-20170518-0a866293bd9e204978c995cb0545c20f8ab63c7e.zip
mtk-20170518-0a866293bd9e204978c995cb0545c20f8ab63c7e.tar.gz
mtk-20170518-0a866293bd9e204978c995cb0545c20f8ab63c7e.tar.bz2
* update patches to 3.0
* add basic vr9 support * backport 3.1 fixes * backport 3.2 queue (falcon) SVN-Revision: 28405
Diffstat (limited to 'target/linux/lantiq/patches-3.0/530-register_tapi.patch')
-rw-r--r--target/linux/lantiq/patches-3.0/530-register_tapi.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/lantiq/patches-3.0/530-register_tapi.patch b/target/linux/lantiq/patches-3.0/530-register_tapi.patch
deleted file mode 100644
index e2b0b30..0000000
--- a/target/linux/lantiq/patches-3.0/530-register_tapi.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/arch/mips/lantiq/devices.c
-+++ b/arch/mips/lantiq/devices.c
-@@ -120,3 +120,20 @@ void __init ltq_register_pci(struct ltq_
- pr_err("kernel is compiled without PCI support\n");
- }
- #endif
-+
-+static unsigned int *cp1_base = 0;
-+unsigned int*
-+ltq_get_cp1_base(void)
-+{
-+ return cp1_base;
-+}
-+EXPORT_SYMBOL(ltq_get_cp1_base);
-+
-+void __init
-+ltq_register_tapi(void)
-+{
-+#define CP1_SIZE (1 << 20)
-+ dma_addr_t dma;
-+ cp1_base =
-+ (void*)CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, &dma, GFP_ATOMIC));
-+}
---- a/arch/mips/lantiq/devices.h
-+++ b/arch/mips/lantiq/devices.h
-@@ -19,5 +19,6 @@ extern void ltq_register_nor(struct phys
- extern void ltq_register_wdt(void);
- extern void ltq_register_asc(int port);
- extern void ltq_register_pci(struct ltq_pci_data *data);
-+extern void ltq_register_tapi(void);
-
- #endif
---- a/arch/mips/lantiq/xway/mach-easy50712.c
-+++ b/arch/mips/lantiq/xway/mach-easy50712.c
-@@ -61,6 +61,7 @@ static void __init easy50712_init(void)
- ltq_register_nor(&easy50712_flash_data);
- ltq_register_pci(&ltq_pci_data);
- ltq_register_etop(&ltq_eth_data);
-+ ltq_register_tapi();
- }
-
- MIPS_MACHINE(LTQ_MACH_EASY50712,