diff options
author | John Crispin <blogic@openwrt.org> | 2013-06-29 16:33:18 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-06-29 16:33:18 +0000 |
commit | 42f6edb43c8d168e55e74e8b1f4a6695dbbc0b8e (patch) | |
tree | 517824532009d825fa6026c3ba41c6445d4c7608 /target/linux/lantiq/patches-3.7/0003-MIPS-lantiq-verbose-init-of-dma-core.patch | |
parent | 24632d6be85c4d9e408885db1b96b879060fccbd (diff) | |
download | master-187ad058-42f6edb43c8d168e55e74e8b1f4a6695dbbc0b8e.tar.gz master-187ad058-42f6edb43c8d168e55e74e8b1f4a6695dbbc0b8e.tar.bz2 master-187ad058-42f6edb43c8d168e55e74e8b1f4a6695dbbc0b8e.zip |
lantiq: remove 3.7 kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37084 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.7/0003-MIPS-lantiq-verbose-init-of-dma-core.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.7/0003-MIPS-lantiq-verbose-init-of-dma-core.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/target/linux/lantiq/patches-3.7/0003-MIPS-lantiq-verbose-init-of-dma-core.patch b/target/linux/lantiq/patches-3.7/0003-MIPS-lantiq-verbose-init-of-dma-core.patch deleted file mode 100644 index 3b2e573346..0000000000 --- a/target/linux/lantiq/patches-3.7/0003-MIPS-lantiq-verbose-init-of-dma-core.patch +++ /dev/null @@ -1,45 +0,0 @@ -From b8b3acbe6077b4736f641ec445be8a42cdd1f08b Mon Sep 17 00:00:00 2001 -From: John Crispin <blogic@openwrt.org> -Date: Fri, 9 Nov 2012 12:16:14 +0100 -Subject: [PATCH 3/6] MIPS: lantiq: verbose init of dma core - -Print the hardware revision and port/channel info when starting the dma core. - -Signed-off-by: John Crispin <blogic@openwrt.org> -Patchwork: http://patchwork.linux-mips.org/patch/4520 ---- - arch/mips/lantiq/xway/dma.c | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - ---- a/arch/mips/lantiq/xway/dma.c -+++ b/arch/mips/lantiq/xway/dma.c -@@ -25,6 +25,7 @@ - #include <lantiq_soc.h> - #include <xway_dma.h> - -+#define LTQ_DMA_ID 0x08 - #define LTQ_DMA_CTRL 0x10 - #define LTQ_DMA_CPOLL 0x14 - #define LTQ_DMA_CS 0x18 -@@ -214,6 +215,7 @@ ltq_dma_init(struct platform_device *pde - { - struct clk *clk; - struct resource *res; -+ unsigned id; - int i; - - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); -@@ -243,7 +245,12 @@ ltq_dma_init(struct platform_device *pde - ltq_dma_w32(DMA_POLL | DMA_CLK_DIV4, LTQ_DMA_CPOLL); - ltq_dma_w32_mask(DMA_CHAN_ON, 0, LTQ_DMA_CCTRL); - } -- dev_info(&pdev->dev, "init done\n"); -+ -+ id = ltq_dma_r32(LTQ_DMA_ID); -+ dev_info(&pdev->dev, -+ "Init done - hw rev: %X, ports: %d, channels: %d\n", -+ id & 0x1f, (id >> 16) & 0xf, id >> 20); -+ - return 0; - } - |