Changeset 20197 for trunk


Ignore:
Timestamp:
2010-03-14T14:22:38+01:00 (6 years ago)
Author:
juhosg
Message:

atheros: refresh 2.6.32 patches

Location:
trunk/target/linux/atheros/patches-2.6.32
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/patches-2.6.32/001-get_c0_compare_int_fix.patch

    r19516 r20197  
    55Signed-off-by: Felix Fietkau <nbd@openwrt.org> 
    66 
    7 Index: linux-2.6.32.7/arch/mips/kernel/cevt-r4k.c 
    8 =================================================================== 
    9 --- linux-2.6.32.7.orig/arch/mips/kernel/cevt-r4k.c     2010-01-29 00:06:20.000000000 +0100 
    10 +++ linux-2.6.32.7/arch/mips/kernel/cevt-r4k.c  2010-02-03 16:59:28.310430064 +0100 
    11 @@ -168,20 +168,23 @@ 
     7--- a/arch/mips/kernel/cevt-r4k.c 
     8+++ b/arch/mips/kernel/cevt-r4k.c 
     9@@ -168,20 +168,23 @@ int __cpuinit r4k_clockevent_init(void) 
    1210        struct clock_event_device *cd; 
    1311        unsigned int irq; 
  • trunk/target/linux/atheros/patches-2.6.32/002-mips_clocksource_init_war.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/arch/mips/kernel/cevt-r4k.c 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/arch/mips/kernel/cevt-r4k.c     2010-02-03 16:59:28.310430064 +0100 
    4 +++ linux-2.6.32.7/arch/mips/kernel/cevt-r4k.c  2010-02-03 16:59:54.578430015 +0100 
     1--- a/arch/mips/kernel/cevt-r4k.c 
     2+++ b/arch/mips/kernel/cevt-r4k.c 
    53@@ -16,6 +16,22 @@ 
    64 #include <asm/cevt-r4k.h> 
     
    2624  * of these routines with SMTC-specific variants. 
    2725  */ 
    28 @@ -31,6 +47,7 @@ 
     26@@ -31,6 +47,7 @@ static int mips_next_event(unsigned long 
    2927        cnt = read_c0_count(); 
    3028        cnt += delta; 
     
    3432        return res; 
    3533 } 
    36 @@ -100,22 +117,6 @@ 
     34@@ -100,22 +117,6 @@ static int c0_compare_int_pending(void) 
    3735        return (read_c0_cause() >> cp0_compare_irq) & 0x100; 
    3836 } 
  • trunk/target/linux/atheros/patches-2.6.32/100-board.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/arch/mips/Kconfig 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/arch/mips/Kconfig       2010-02-03 16:57:31.290430165 +0100 
    4 +++ linux-2.6.32.7/arch/mips/Kconfig    2010-02-03 17:00:08.814429898 +0100 
    5 @@ -96,6 +96,19 @@ 
     1--- a/arch/mips/Kconfig 
     2+++ b/arch/mips/Kconfig 
     3@@ -96,6 +96,19 @@ config BCM63XX 
    64        help 
    75         Support for BCM63XX based boards 
     
    2321        bool "Cobalt Server" 
    2422        select CEVT_R4K 
    25 @@ -673,6 +686,7 @@ 
     23@@ -673,6 +686,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD 
    2624  
    2725 endchoice 
     
    3129 source "arch/mips/basler/excite/Kconfig" 
    3230 source "arch/mips/bcm63xx/Kconfig" 
    33 Index: linux-2.6.32.7/arch/mips/Makefile 
    34 =================================================================== 
    35 --- linux-2.6.32.7.orig/arch/mips/Makefile      2010-02-03 16:57:31.851429682 +0100 
    36 +++ linux-2.6.32.7/arch/mips/Makefile   2010-02-03 17:00:08.814429898 +0100 
    37 @@ -296,6 +296,13 @@ 
     31--- a/arch/mips/Makefile 
     32+++ b/arch/mips/Makefile 
     33@@ -298,6 +298,13 @@ cflags-$(CONFIG_SOC_AU1X00)        += -I$(srctr 
    3834  
    3935  
     
    4945 # 
    5046 core-$(CONFIG_MIPS_COBALT)     += arch/mips/cobalt/ 
    51 Index: linux-2.6.32.7/arch/mips/ar231x/Kconfig 
    52 =================================================================== 
    53 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    54 +++ linux-2.6.32.7/arch/mips/ar231x/Kconfig     2010-02-03 17:00:08.814429898 +0100 
     47--- /dev/null 
     48+++ b/arch/mips/ar231x/Kconfig 
    5549@@ -0,0 +1,17 @@ 
    5650+config ATHEROS_AR5312 
     
    7165+       select GENERIC_GPIO 
    7266+       default y 
    73 Index: linux-2.6.32.7/arch/mips/ar231x/Makefile 
    74 =================================================================== 
    75 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    76 +++ linux-2.6.32.7/arch/mips/ar231x/Makefile    2010-02-03 17:00:08.814429898 +0100 
     67--- /dev/null 
     68+++ b/arch/mips/ar231x/Makefile 
    7769@@ -0,0 +1,13 @@ 
    7870+# 
     
    8981+obj-$(CONFIG_ATHEROS_AR5312) += ar5312.o 
    9082+obj-$(CONFIG_ATHEROS_AR2315) += ar2315.o 
    91 Index: linux-2.6.32.7/arch/mips/ar231x/board.c 
    92 =================================================================== 
    93 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    94 +++ linux-2.6.32.7/arch/mips/ar231x/board.c     2010-02-03 17:00:08.814429898 +0100 
     83--- /dev/null 
     84+++ b/arch/mips/ar231x/board.c 
    9585@@ -0,0 +1,251 @@ 
    9686+/* 
     
    345335+ 
    346336+ 
    347 Index: linux-2.6.32.7/arch/mips/ar231x/prom.c 
    348 =================================================================== 
    349 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    350 +++ linux-2.6.32.7/arch/mips/ar231x/prom.c      2010-02-03 17:00:08.814429898 +0100 
     337--- /dev/null 
     338+++ b/arch/mips/ar231x/prom.c 
    351339@@ -0,0 +1,37 @@ 
    352340+/* 
     
    387375+{ 
    388376+} 
    389 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar231x_platform.h 
    390 =================================================================== 
    391 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    392 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar231x_platform.h  2010-02-03 17:00:08.814429898 +0100 
     377--- /dev/null 
     378+++ b/arch/mips/include/asm/mach-ar231x/ar231x_platform.h 
    393379@@ -0,0 +1,83 @@ 
    394380+#ifndef __AR531X_PLATFORM_H 
     
    475461+ 
    476462+#endif /* __AR531X_PLATFORM_H */ 
    477 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/cpu-feature-overrides.h 
    478 =================================================================== 
    479 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    480 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/cpu-feature-overrides.h    2010-02-03 17:00:08.814429898 +0100 
     463--- /dev/null 
     464+++ b/arch/mips/include/asm/mach-ar231x/cpu-feature-overrides.h 
    481465@@ -0,0 +1,84 @@ 
    482466+/* 
     
    564548+ 
    565549+#endif /* __ASM_MACH_ATHEROS_CPU_FEATURE_OVERRIDES_H */ 
    566 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/dma-coherence.h 
    567 =================================================================== 
    568 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    569 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/dma-coherence.h    2010-02-03 17:00:08.814429898 +0100 
     550--- /dev/null 
     551+++ b/arch/mips/include/asm/mach-ar231x/dma-coherence.h 
    570552@@ -0,0 +1,64 @@ 
    571553+/* 
     
    633615+ 
    634616+#endif /* __ASM_MACH_GENERIC_DMA_COHERENCE_H */ 
    635 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/gpio.h 
    636 =================================================================== 
    637 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    638 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/gpio.h     2010-02-03 17:00:08.814429898 +0100 
     617--- /dev/null 
     618+++ b/arch/mips/include/asm/mach-ar231x/gpio.h 
    639619@@ -0,0 +1,79 @@ 
    640620+#ifndef _ATHEROS_GPIO_H_ 
     
    717697+ 
    718698+#endif 
    719 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/reset.h 
    720 =================================================================== 
    721 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    722 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/reset.h    2010-02-03 17:00:08.814429898 +0100 
     699--- /dev/null 
     700+++ b/arch/mips/include/asm/mach-ar231x/reset.h 
    723701@@ -0,0 +1,6 @@ 
    724702+#ifndef __AR531X_RESET_H 
     
    728706+ 
    729707+#endif /* __AR531X_RESET_H */ 
    730 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/war.h 
    731 =================================================================== 
    732 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    733 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/war.h      2010-02-03 17:00:08.814429898 +0100 
     708--- /dev/null 
     709+++ b/arch/mips/include/asm/mach-ar231x/war.h 
    734710@@ -0,0 +1,25 @@ 
    735711+/* 
     
    758734+ 
    759735+#endif /* __ASM_MIPS_MACH_ATHEROS_WAR_H */ 
    760 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar2315_regs.h 
    761 =================================================================== 
    762 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    763 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar2315_regs.h      2010-02-03 17:00:08.814429898 +0100 
     736--- /dev/null 
     737+++ b/arch/mips/include/asm/mach-ar231x/ar2315_regs.h 
    764738@@ -0,0 +1,580 @@ 
    765739+/* 
     
    13431317+ 
    13441318+#endif /* __AR2315_REG_H */ 
    1345 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar5312_regs.h 
    1346 =================================================================== 
    1347 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    1348 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar5312_regs.h      2010-02-03 17:00:08.818431986 +0100 
     1319--- /dev/null 
     1320+++ b/arch/mips/include/asm/mach-ar231x/ar5312_regs.h 
    13491321@@ -0,0 +1,236 @@ 
    13501322+/* 
     
    15841556+#endif 
    15851557+ 
    1586 Index: linux-2.6.32.7/arch/mips/ar231x/ar5312.c 
    1587 =================================================================== 
    1588 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    1589 +++ linux-2.6.32.7/arch/mips/ar231x/ar5312.c    2010-02-03 17:00:08.818431986 +0100 
     1558--- /dev/null 
     1559+++ b/arch/mips/ar231x/ar5312.c 
    15901560@@ -0,0 +1,547 @@ 
    15911561+/* 
     
    21362106+} 
    21372107+ 
    2138 Index: linux-2.6.32.7/arch/mips/ar231x/ar2315.c 
    2139 =================================================================== 
    2140 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    2141 +++ linux-2.6.32.7/arch/mips/ar231x/ar2315.c    2010-02-03 17:00:08.818431986 +0100 
     2108--- /dev/null 
     2109+++ b/arch/mips/ar231x/ar2315.c 
    21422110@@ -0,0 +1,658 @@ 
    21432111+/* 
     
    27992767+       ar231x_serial_setup(KSEG1ADDR(AR2315_UART0), ar2315_apb_frequency()); 
    28002768+} 
    2801 Index: linux-2.6.32.7/arch/mips/ar231x/ar2315.h 
    2802 =================================================================== 
    2803 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    2804 +++ linux-2.6.32.7/arch/mips/ar231x/ar2315.h    2010-02-03 17:00:08.818431986 +0100 
     2769--- /dev/null 
     2770+++ b/arch/mips/ar231x/ar2315.h 
    28052771@@ -0,0 +1,37 @@ 
    28062772+#ifndef __AR2315_H 
     
    28412807+ 
    28422808+#endif 
    2843 Index: linux-2.6.32.7/arch/mips/ar231x/ar5312.h 
    2844 =================================================================== 
    2845 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    2846 +++ linux-2.6.32.7/arch/mips/ar231x/ar5312.h    2010-02-03 17:00:08.818431986 +0100 
     2809--- /dev/null 
     2810+++ b/arch/mips/ar231x/ar5312.h 
    28472811@@ -0,0 +1,38 @@ 
    28482812+#ifndef __AR5312_H 
     
    28842848+ 
    28852849+#endif 
    2886 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar231x.h 
    2887 =================================================================== 
    2888 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    2889 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar231x.h   2010-02-03 17:00:08.818431986 +0100 
     2850--- /dev/null 
     2851+++ b/arch/mips/include/asm/mach-ar231x/ar231x.h 
    28902852@@ -0,0 +1,54 @@ 
    28912853+#ifndef __AR531X_H 
     
    29432905+ 
    29442906+#endif 
    2945 Index: linux-2.6.32.7/arch/mips/ar231x/devices.h 
    2946 =================================================================== 
    2947 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    2948 +++ linux-2.6.32.7/arch/mips/ar231x/devices.h   2010-02-03 17:00:08.818431986 +0100 
     2907--- /dev/null 
     2908+++ b/arch/mips/ar231x/devices.h 
    29492909@@ -0,0 +1,37 @@ 
    29502910+#ifndef __AR231X_DEVICES_H 
     
    29852945+ 
    29862946+#endif 
    2987 Index: linux-2.6.32.7/arch/mips/ar231x/devices.c 
    2988 =================================================================== 
    2989 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    2990 +++ linux-2.6.32.7/arch/mips/ar231x/devices.c   2010-02-03 17:00:08.818431986 +0100 
     2947--- /dev/null 
     2948+++ b/arch/mips/ar231x/devices.c 
    29912949@@ -0,0 +1,175 @@ 
    29922950+#include <linux/kernel.h> 
  • trunk/target/linux/atheros/patches-2.6.32/105-ar2315_pci.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/arch/mips/ar231x/Makefile 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/arch/mips/ar231x/Makefile       2010-02-03 17:00:08.814429898 +0100 
    4 +++ linux-2.6.32.7/arch/mips/ar231x/Makefile    2010-02-03 17:00:21.031428952 +0100 
     1--- a/arch/mips/ar231x/Makefile 
     2+++ b/arch/mips/ar231x/Makefile 
    53@@ -11,3 +11,4 @@ 
    64 obj-y += board.o prom.o devices.o 
     
    86 obj-$(CONFIG_ATHEROS_AR2315) += ar2315.o 
    97+obj-$(CONFIG_ATHEROS_AR2315_PCI) += pci.o 
    10 Index: linux-2.6.32.7/arch/mips/ar231x/pci.c 
    11 =================================================================== 
    12 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    13 +++ linux-2.6.32.7/arch/mips/ar231x/pci.c       2010-02-03 17:00:21.031428952 +0100 
     8--- /dev/null 
     9+++ b/arch/mips/ar231x/pci.c 
    1410@@ -0,0 +1,230 @@ 
    1511+/* 
     
    243239+ 
    244240+arch_initcall(ar2315_pci_init); 
    245 Index: linux-2.6.32.7/arch/mips/ar231x/Kconfig 
    246 =================================================================== 
    247 --- linux-2.6.32.7.orig/arch/mips/ar231x/Kconfig        2010-02-03 17:00:08.814429898 +0100 
    248 +++ linux-2.6.32.7/arch/mips/ar231x/Kconfig     2010-02-03 17:00:21.031428952 +0100 
    249 @@ -15,3 +15,13 @@ 
     241--- a/arch/mips/ar231x/Kconfig 
     242+++ b/arch/mips/ar231x/Kconfig 
     243@@ -15,3 +15,13 @@ config ATHEROS_AR2315 
    250244        select SYS_SUPPORTS_BIG_ENDIAN 
    251245        select GENERIC_GPIO 
     
    261255+       select USB_ARCH_HAS_EHCI 
    262256+       default y 
    263 Index: linux-2.6.32.7/arch/mips/ar231x/ar2315.c 
    264 =================================================================== 
    265 --- linux-2.6.32.7.orig/arch/mips/ar231x/ar2315.c       2010-02-03 17:00:08.818431986 +0100 
    266 +++ linux-2.6.32.7/arch/mips/ar231x/ar2315.c    2010-02-03 17:00:21.031428952 +0100 
    267 @@ -63,6 +63,27 @@ 
     257--- a/arch/mips/ar231x/ar2315.c 
     258+++ b/arch/mips/ar231x/ar2315.c 
     259@@ -63,6 +63,27 @@ static inline void ar2315_gpio_irq(void) 
    268260                do_IRQ(AR531X_GPIO_IRQ_BASE + bit); 
    269261 } 
     
    293285 /* 
    294286  * Called when an interrupt is received, this function 
    295 @@ -81,6 +102,10 @@ 
     287@@ -81,6 +102,10 @@ ar2315_irq_dispatch(void) 
    296288                do_IRQ(AR2315_IRQ_WLAN0_INTRS); 
    297289        else if (pending & CAUSEF_IP4) 
  • trunk/target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/drivers/net/Kconfig 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/drivers/net/Kconfig     2010-02-03 16:57:31.714431054 +0100 
    4 +++ linux-2.6.32.7/drivers/net/Kconfig  2010-02-03 17:00:35.870429264 +0100 
    5 @@ -359,6 +359,12 @@ 
     1--- a/drivers/net/Kconfig 
     2+++ b/drivers/net/Kconfig 
     3@@ -359,6 +359,12 @@ config AX88796_93CX6 
    64        help 
    75          Select this if your platform comes with an external 93CX6 eeprom. 
     
    1614        tristate "MACE (Power Mac ethernet) support" 
    1715        depends on PPC_PMAC && PPC32 
    18 Index: linux-2.6.32.7/drivers/net/Makefile 
    19 =================================================================== 
    20 --- linux-2.6.32.7.orig/drivers/net/Makefile    2010-02-03 16:57:31.714431054 +0100 
    21 +++ linux-2.6.32.7/drivers/net/Makefile 2010-02-03 17:00:35.870429264 +0100 
    22 @@ -216,6 +216,7 @@ 
     16--- a/drivers/net/Makefile 
     17+++ b/drivers/net/Makefile 
     18@@ -216,6 +216,7 @@ obj-$(CONFIG_EQUALIZER) += eql.o 
    2319 obj-$(CONFIG_KORINA) += korina.o 
    2420 obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o 
     
    2824 obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o 
    2925 obj-$(CONFIG_DECLANCE) += declance.o 
    30 Index: linux-2.6.32.7/drivers/net/ar231x.c 
    31 =================================================================== 
    32 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    33 +++ linux-2.6.32.7/drivers/net/ar231x.c 2010-02-03 17:00:35.874430230 +0100 
     26--- /dev/null 
     27+++ b/drivers/net/ar231x.c 
    3428@@ -0,0 +1,1263 @@ 
    3529+/* 
     
    12961290+} 
    12971291+ 
    1298 Index: linux-2.6.32.7/drivers/net/ar231x.h 
    1299 =================================================================== 
    1300 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    1301 +++ linux-2.6.32.7/drivers/net/ar231x.h 2010-02-03 17:00:35.874430230 +0100 
     1292--- /dev/null 
     1293+++ b/drivers/net/ar231x.h 
    13021294@@ -0,0 +1,302 @@ 
    13031295+/* 
  • trunk/target/linux/atheros/patches-2.6.32/120-spiflash.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/drivers/mtd/devices/Kconfig 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/drivers/mtd/devices/Kconfig     2010-01-29 00:06:20.000000000 +0100 
    4 +++ linux-2.6.32.7/drivers/mtd/devices/Kconfig  2010-02-03 17:01:08.858429535 +0100 
    5 @@ -114,6 +114,10 @@ 
     1--- a/drivers/mtd/devices/Kconfig 
     2+++ b/drivers/mtd/devices/Kconfig 
     3@@ -114,6 +114,10 @@ config MTD_SST25L 
    64          Set up your spi devices with the right board-specific platform data, 
    75          if you want to specify device partitioning. 
     
    1412        tristate "Uncached system RAM" 
    1513        help 
    16 Index: linux-2.6.32.7/drivers/mtd/devices/Makefile 
    17 =================================================================== 
    18 --- linux-2.6.32.7.orig/drivers/mtd/devices/Makefile    2010-01-29 00:06:20.000000000 +0100 
    19 +++ linux-2.6.32.7/drivers/mtd/devices/Makefile 2010-02-03 17:01:30.282430590 +0100 
    20 @@ -17,3 +17,4 @@ 
     14--- a/drivers/mtd/devices/Makefile 
     15+++ b/drivers/mtd/devices/Makefile 
     16@@ -17,3 +17,4 @@ obj-$(CONFIG_MTD_BLOCK2MTD)   += block2mtd 
    2117 obj-$(CONFIG_MTD_DATAFLASH)    += mtd_dataflash.o 
    2218 obj-$(CONFIG_MTD_M25P80)       += m25p80.o 
    2319 obj-$(CONFIG_MTD_SST25L)       += sst25l.o 
    2420+obj-$(CONFIG_MTD_AR2315)       += ar2315.o 
    25 Index: linux-2.6.32.7/drivers/mtd/devices/ar2315.c 
    26 =================================================================== 
    27 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    28 +++ linux-2.6.32.7/drivers/mtd/devices/ar2315.c 2010-02-03 17:01:08.858429535 +0100 
     21--- /dev/null 
     22+++ b/drivers/mtd/devices/ar2315.c 
    2923@@ -0,0 +1,517 @@ 
    3024+ 
     
    545539+MODULE_DESCRIPTION("MTD driver for SPI Flash on Atheros SOC"); 
    546540+ 
    547 Index: linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar2315_spiflash.h 
    548 =================================================================== 
    549 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    550 +++ linux-2.6.32.7/arch/mips/include/asm/mach-ar231x/ar2315_spiflash.h  2010-02-03 17:01:08.858429535 +0100 
     541--- /dev/null 
     542+++ b/arch/mips/include/asm/mach-ar231x/ar2315_spiflash.h 
    551543@@ -0,0 +1,116 @@ 
    552544+/* 
  • trunk/target/linux/atheros/patches-2.6.32/130-watchdog.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/drivers/watchdog/ar2315-wtd.c 
    2 =================================================================== 
    3 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    4 +++ linux-2.6.32.7/drivers/watchdog/ar2315-wtd.c        2010-02-03 17:01:46.074429108 +0100 
     1--- /dev/null 
     2+++ b/drivers/watchdog/ar2315-wtd.c 
    53@@ -0,0 +1,200 @@ 
    64+/* 
     
    204202+module_init(init_ar2315_wdt); 
    205203+module_exit(exit_ar2315_wdt); 
    206 Index: linux-2.6.32.7/drivers/watchdog/Kconfig 
    207 =================================================================== 
    208 --- linux-2.6.32.7.orig/drivers/watchdog/Kconfig        2010-01-29 00:06:20.000000000 +0100 
    209 +++ linux-2.6.32.7/drivers/watchdog/Kconfig     2010-02-03 17:01:46.078429135 +0100 
    210 @@ -850,6 +850,12 @@ 
     204--- a/drivers/watchdog/Kconfig 
     205+++ b/drivers/watchdog/Kconfig 
     206@@ -850,6 +850,12 @@ config TXX9_WDT 
    211207        help 
    212208          Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs. 
     
    221217  
    222218 # POWERPC Architecture 
    223 Index: linux-2.6.32.7/drivers/watchdog/Makefile 
    224 =================================================================== 
    225 --- linux-2.6.32.7.orig/drivers/watchdog/Makefile       2010-01-29 00:06:20.000000000 +0100 
    226 +++ linux-2.6.32.7/drivers/watchdog/Makefile    2010-02-03 17:01:46.078429135 +0100 
    227 @@ -113,6 +113,7 @@ 
     219--- a/drivers/watchdog/Makefile 
     220+++ b/drivers/watchdog/Makefile 
     221@@ -113,6 +113,7 @@ obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o 
    228222 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o 
    229223 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o 
  • trunk/target/linux/atheros/patches-2.6.32/140-redboot_partition_scan.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/drivers/mtd/redboot.c 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/drivers/mtd/redboot.c   2010-02-03 16:57:31.582429139 +0100 
    4 +++ linux-2.6.32.7/drivers/mtd/redboot.c        2010-02-03 17:01:57.067429178 +0100 
    5 @@ -60,31 +60,32 @@ 
     1--- a/drivers/mtd/redboot.c 
     2+++ b/drivers/mtd/redboot.c 
     3@@ -60,31 +60,32 @@ static int parse_redboot_partitions(stru 
    64        static char nullstring[] = "unallocated"; 
    75 #endif 
     
    4341               master->name, offset); 
    4442  
    45 @@ -156,6 +157,11 @@ 
     43@@ -156,6 +157,11 @@ static int parse_redboot_partitions(stru 
    4644        } 
    4745        if (i == numslots) { 
  • trunk/target/linux/atheros/patches-2.6.32/200-ar2313_enable_mvswitch.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/drivers/net/ar231x.c 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/drivers/net/ar231x.c    2010-02-03 17:00:35.874430230 +0100 
    4 +++ linux-2.6.32.7/drivers/net/ar231x.c 2010-02-03 17:02:28.998430523 +0100 
    5 @@ -735,6 +735,7 @@ 
     1--- a/drivers/net/ar231x.c 
     2+++ b/drivers/net/ar231x.c 
     3@@ -735,6 +735,7 @@ static void ar231x_load_rx_ring(struct n 
    64        for (i = 0; i < nr_bufs; i++) { 
    75                struct sk_buff *skb; 
     
    119                if (sp->rx_skb[idx]) 
    1210                        break; 
    13 @@ -750,7 +751,9 @@ 
     11@@ -750,7 +751,9 @@ static void ar231x_load_rx_ring(struct n 
    1412                 * Make sure IP header starts on a fresh cache line. 
    1513                 */ 
     
    2220  
    2321                rd = (ar231x_descr_t *) & sp->rx_ring[idx]; 
    24 @@ -824,20 +827,23 @@ 
     22@@ -824,20 +827,23 @@ static int ar231x_rx_int(struct net_devi 
    2523                        /* alloc new buffer. */ 
    2624                        skb_new = netdev_alloc_skb(dev, AR2313_BUFSIZE + RX_OFFSET); 
     
    5149                                rxdesc->addr = virt_to_phys(skb_new->data); 
    5250  
    53 @@ -1239,6 +1245,8 @@ 
     51@@ -1239,6 +1245,8 @@ static int ar231x_mdiobus_probe (struct  
    5452                return PTR_ERR(phydev); 
    5553        } 
     
    6058        phydev->supported &= (SUPPORTED_10baseT_Half 
    6159                | SUPPORTED_10baseT_Full 
    62 Index: linux-2.6.32.7/drivers/net/ar231x.h 
    63 =================================================================== 
    64 --- linux-2.6.32.7.orig/drivers/net/ar231x.h    2010-02-03 17:00:35.874430230 +0100 
    65 +++ linux-2.6.32.7/drivers/net/ar231x.h 2010-02-03 17:02:28.998430523 +0100 
    66 @@ -221,6 +221,8 @@ 
     60--- a/drivers/net/ar231x.h 
     61+++ b/drivers/net/ar231x.h 
     62@@ -221,6 +221,8 @@ typedef struct { 
    6763  */ 
    6864 struct ar231x_private { 
  • trunk/target/linux/atheros/patches-2.6.32/210-reset_button.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/arch/mips/ar231x/Makefile 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/arch/mips/ar231x/Makefile       2010-02-03 17:00:21.031428952 +0100 
    4 +++ linux-2.6.32.7/arch/mips/ar231x/Makefile    2010-02-03 17:02:36.795429223 +0100 
     1--- a/arch/mips/ar231x/Makefile 
     2+++ b/arch/mips/ar231x/Makefile 
    53@@ -8,7 +8,7 @@ 
    64 # Copyright (C) 2006-2009 Felix Fietkau <nbd@openwrt.org> 
     
    1210 obj-$(CONFIG_ATHEROS_AR2315) += ar2315.o 
    1311 obj-$(CONFIG_ATHEROS_AR2315_PCI) += pci.o 
    14 Index: linux-2.6.32.7/arch/mips/ar231x/reset.c 
    15 =================================================================== 
    16 --- /dev/null   1970-01-01 00:00:00.000000000 +0000 
    17 +++ linux-2.6.32.7/arch/mips/ar231x/reset.c     2010-02-03 17:02:36.795429223 +0100 
     12--- /dev/null 
     13+++ b/arch/mips/ar231x/reset.c 
    1814@@ -0,0 +1,160 @@ 
    1915+#include <linux/init.h> 
  • trunk/target/linux/atheros/patches-2.6.32/220-enet_micrel_workaround.patch

    r19516 r20197  
    1 Index: linux-2.6.32.7/drivers/net/ar231x.c 
    2 =================================================================== 
    3 --- linux-2.6.32.7.orig/drivers/net/ar231x.c    2010-02-03 17:02:28.998430523 +0100 
    4 +++ linux-2.6.32.7/drivers/net/ar231x.c 2010-02-03 17:03:01.346429245 +0100 
    5 @@ -148,6 +148,7 @@ 
     1--- a/drivers/net/ar231x.c 
     2+++ b/drivers/net/ar231x.c 
     3@@ -148,6 +148,7 @@ static int ar231x_mdiobus_write(struct m 
    64 static int ar231x_mdiobus_reset(struct mii_bus *bus); 
    75 static int ar231x_mdiobus_probe (struct net_device *dev); 
     
    119 #ifndef ERR 
    1210 #define ERR(fmt, args...) printk("%s: " fmt, __func__, ##args) 
    13 @@ -278,6 +279,21 @@ 
     11@@ -278,6 +279,21 @@ int __init ar231x_probe(struct platform_ 
    1412  
    1513        mdiobus_register(sp->mii_bus); 
     
    3331                printk(KERN_ERR "%s: mdiobus_probe failed\n", dev->name); 
    3432                rx_tasklet_cleanup(dev); 
    35 @@ -334,8 +350,10 @@ 
     33@@ -334,8 +350,10 @@ static int __exit ar231x_remove(struct p 
    3634        rx_tasklet_cleanup(dev); 
    3735        ar231x_init_cleanup(dev); 
     
    4644        return 0; 
    4745 } 
    48 @@ -836,7 +854,12 @@ 
     46@@ -836,7 +854,12 @@ static int ar231x_rx_int(struct net_devi 
    4947                                dev->stats.rx_bytes += skb->len; 
    5048  
     
    6058  
    6159                                /* 16 bit align */ 
    62 @@ -1123,6 +1146,9 @@ 
     60@@ -1123,6 +1146,9 @@ static int ar231x_ioctl(struct net_devic 
    6361        struct ar231x_private *sp = netdev_priv(dev); 
    6462        int ret; 
Note: See TracChangeset for help on using the changeset viewer.