diff options
author | John Crispin <john@openwrt.org> | 2012-05-09 12:52:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-05-09 12:52:19 +0000 |
commit | 7d638fbb2f7a896df8cbb3cc180db7c3c60d1233 (patch) | |
tree | a0f6908c2648d8d5d5736e2499aff6246cea828c /target/linux/lantiq/patches-2.6.32/530-register_tapi.patch | |
parent | 200227e0b4d954f9a76f1587114a53f034539360 (diff) | |
download | upstream-7d638fbb2f7a896df8cbb3cc180db7c3c60d1233.tar.gz upstream-7d638fbb2f7a896df8cbb3cc180db7c3c60d1233.tar.bz2 upstream-7d638fbb2f7a896df8cbb3cc180db7c3c60d1233.zip |
Drop 2.6.32 support
SVN-Revision: 31670
Diffstat (limited to 'target/linux/lantiq/patches-2.6.32/530-register_tapi.patch')
-rw-r--r-- | target/linux/lantiq/patches-2.6.32/530-register_tapi.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/target/linux/lantiq/patches-2.6.32/530-register_tapi.patch b/target/linux/lantiq/patches-2.6.32/530-register_tapi.patch deleted file mode 100644 index a581064443..0000000000 --- a/target/linux/lantiq/patches-2.6.32/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 @@ - 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_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 -@@ -66,6 +66,7 @@ - ltq_register_nor(&easy50712_flash_data); - ltq_register_pci(<q_pci_data); - ltq_register_etop(<q_eth_data); -+ ltq_register_tapi(); - } - - MIPS_MACHINE(LTQ_MACH_EASY50712, |