Ignore:
Timestamp:
2010-03-03T14:52:28+01:00 (7 years ago)
Author:
matteo
Message:

2.6.33 fixes for atheros and madwifi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/patches-2.6.33/100-board.patch

    r19906 r19963  
    1 --- a/arch/mips/Kconfig 
    2 +++ b/arch/mips/Kconfig 
    3 @@ -84,6 +84,19 @@ config BCM63XX 
     1Index: linux-2.6.33/arch/mips/Kconfig 
     2=================================================================== 
     3--- linux-2.6.33.orig/arch/mips/Kconfig 2010-03-03 12:20:01.790293217 +0100 
     4+++ linux-2.6.33/arch/mips/Kconfig      2010-03-03 12:20:05.554288074 +0100 
     5@@ -84,6 +84,19 @@ 
    46        help 
    57         Support for BCM63XX based boards 
     
    2123        bool "Cobalt Server" 
    2224        select CEVT_R4K 
    23 @@ -681,6 +694,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD 
     25@@ -681,6 +694,7 @@ 
    2426  
    2527 endchoice 
     
    2931 source "arch/mips/bcm63xx/Kconfig" 
    3032 source "arch/mips/jazz/Kconfig" 
    31 --- a/arch/mips/Makefile 
    32 +++ b/arch/mips/Makefile 
    33 @@ -308,6 +308,13 @@ cflags-$(CONFIG_SOC_AU1X00)        += -I$(srctr 
     33Index: linux-2.6.33/arch/mips/Makefile 
     34=================================================================== 
     35--- linux-2.6.33.orig/arch/mips/Makefile        2010-03-03 12:20:01.742287339 +0100 
     36+++ linux-2.6.33/arch/mips/Makefile     2010-03-03 12:20:05.554288074 +0100 
     37@@ -308,6 +308,13 @@ 
    3438  
    3539  
     
    4549 # 
    4650 core-$(CONFIG_MIPS_COBALT)     += arch/mips/cobalt/ 
    47 --- /dev/null 
    48 +++ b/arch/mips/ar231x/Kconfig 
     51Index: linux-2.6.33/arch/mips/ar231x/Kconfig 
     52=================================================================== 
     53--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     54+++ linux-2.6.33/arch/mips/ar231x/Kconfig       2010-03-03 12:20:05.554288074 +0100 
    4955@@ -0,0 +1,17 @@ 
    5056+config ATHEROS_AR5312 
     
    6571+       select GENERIC_GPIO 
    6672+       default y 
    67 --- /dev/null 
    68 +++ b/arch/mips/ar231x/Makefile 
     73Index: linux-2.6.33/arch/mips/ar231x/Makefile 
     74=================================================================== 
     75--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     76+++ linux-2.6.33/arch/mips/ar231x/Makefile      2010-03-03 12:20:05.554288074 +0100 
    6977@@ -0,0 +1,13 @@ 
    7078+# 
     
    8189+obj-$(CONFIG_ATHEROS_AR5312) += ar5312.o 
    8290+obj-$(CONFIG_ATHEROS_AR2315) += ar2315.o 
    83 --- /dev/null 
    84 +++ b/arch/mips/ar231x/board.c 
     91Index: linux-2.6.33/arch/mips/ar231x/board.c 
     92=================================================================== 
     93--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     94+++ linux-2.6.33/arch/mips/ar231x/board.c       2010-03-03 12:20:22.306286892 +0100 
    8595@@ -0,0 +1,251 @@ 
    8696+/* 
     
    95105+ */ 
    96106+ 
    97 +#include <linux/autoconf.h> 
     107+#include <generated/autoconf.h> 
    98108+#include <linux/init.h> 
    99109+#include <linux/module.h> 
     
    335345+ 
    336346+ 
    337 --- /dev/null 
    338 +++ b/arch/mips/ar231x/prom.c 
     347Index: linux-2.6.33/arch/mips/ar231x/prom.c 
     348=================================================================== 
     349--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     350+++ linux-2.6.33/arch/mips/ar231x/prom.c        2010-03-03 12:20:05.554288074 +0100 
    339351@@ -0,0 +1,37 @@ 
    340352+/* 
     
    355367+ 
    356368+#include <linux/init.h> 
    357 +#include <linux/autoconf.h> 
     369+#include <generated/autoconf.h> 
    358370+#include <linux/kernel.h> 
    359371+#include <linux/string.h> 
     
    375387+{ 
    376388+} 
    377 --- /dev/null 
    378 +++ b/arch/mips/include/asm/mach-ar231x/ar231x_platform.h 
     389Index: linux-2.6.33/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.33/arch/mips/include/asm/mach-ar231x/ar231x_platform.h    2010-03-03 12:20:05.554288074 +0100 
    379393@@ -0,0 +1,83 @@ 
    380394+#ifndef __AR531X_PLATFORM_H 
     
    461475+ 
    462476+#endif /* __AR531X_PLATFORM_H */ 
    463 --- /dev/null 
    464 +++ b/arch/mips/include/asm/mach-ar231x/cpu-feature-overrides.h 
     477Index: linux-2.6.33/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.33/arch/mips/include/asm/mach-ar231x/cpu-feature-overrides.h      2010-03-03 12:20:05.554288074 +0100 
    465481@@ -0,0 +1,84 @@ 
    466482+/* 
     
    548564+ 
    549565+#endif /* __ASM_MACH_ATHEROS_CPU_FEATURE_OVERRIDES_H */ 
    550 --- /dev/null 
    551 +++ b/arch/mips/include/asm/mach-ar231x/dma-coherence.h 
     566Index: linux-2.6.33/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.33/arch/mips/include/asm/mach-ar231x/dma-coherence.h      2010-03-03 12:20:05.554288074 +0100 
    552570@@ -0,0 +1,64 @@ 
    553571+/* 
     
    615633+ 
    616634+#endif /* __ASM_MACH_GENERIC_DMA_COHERENCE_H */ 
    617 --- /dev/null 
    618 +++ b/arch/mips/include/asm/mach-ar231x/gpio.h 
     635Index: linux-2.6.33/arch/mips/include/asm/mach-ar231x/gpio.h 
     636=================================================================== 
     637--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     638+++ linux-2.6.33/arch/mips/include/asm/mach-ar231x/gpio.h       2010-03-03 12:20:05.554288074 +0100 
    619639@@ -0,0 +1,79 @@ 
    620640+#ifndef _ATHEROS_GPIO_H_ 
     
    697717+ 
    698718+#endif 
    699 --- /dev/null 
    700 +++ b/arch/mips/include/asm/mach-ar231x/reset.h 
     719Index: linux-2.6.33/arch/mips/include/asm/mach-ar231x/reset.h 
     720=================================================================== 
     721--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     722+++ linux-2.6.33/arch/mips/include/asm/mach-ar231x/reset.h      2010-03-03 12:20:05.554288074 +0100 
    701723@@ -0,0 +1,6 @@ 
    702724+#ifndef __AR531X_RESET_H 
     
    706728+ 
    707729+#endif /* __AR531X_RESET_H */ 
    708 --- /dev/null 
    709 +++ b/arch/mips/include/asm/mach-ar231x/war.h 
     730Index: linux-2.6.33/arch/mips/include/asm/mach-ar231x/war.h 
     731=================================================================== 
     732--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     733+++ linux-2.6.33/arch/mips/include/asm/mach-ar231x/war.h        2010-03-03 12:20:05.558287696 +0100 
    710734@@ -0,0 +1,25 @@ 
    711735+/* 
     
    734758+ 
    735759+#endif /* __ASM_MIPS_MACH_ATHEROS_WAR_H */ 
    736 --- /dev/null 
    737 +++ b/arch/mips/include/asm/mach-ar231x/ar2315_regs.h 
     760Index: linux-2.6.33/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.33/arch/mips/include/asm/mach-ar231x/ar2315_regs.h        2010-03-03 12:20:05.558287696 +0100 
    738764@@ -0,0 +1,580 @@ 
    739765+/* 
     
    13171343+ 
    13181344+#endif /* __AR2315_REG_H */ 
    1319 --- /dev/null 
    1320 +++ b/arch/mips/include/asm/mach-ar231x/ar5312_regs.h 
     1345Index: linux-2.6.33/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.33/arch/mips/include/asm/mach-ar231x/ar5312_regs.h        2010-03-03 12:20:05.558287696 +0100 
    13211349@@ -0,0 +1,236 @@ 
    13221350+/* 
     
    15561584+#endif 
    15571585+ 
    1558 --- /dev/null 
    1559 +++ b/arch/mips/ar231x/ar5312.c 
     1586Index: linux-2.6.33/arch/mips/ar231x/ar5312.c 
     1587=================================================================== 
     1588--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     1589+++ linux-2.6.33/arch/mips/ar231x/ar5312.c      2010-03-03 12:20:05.558287696 +0100 
    15601590@@ -0,0 +1,547 @@ 
    15611591+/* 
     
    15741604+ */ 
    15751605+ 
    1576 +#include <linux/autoconf.h> 
     1606+#include <generated/autoconf.h> 
    15771607+#include <linux/init.h> 
    15781608+#include <linux/module.h> 
     
    21062136+} 
    21072137+ 
    2108 --- /dev/null 
    2109 +++ b/arch/mips/ar231x/ar2315.c 
     2138Index: linux-2.6.33/arch/mips/ar231x/ar2315.c 
     2139=================================================================== 
     2140--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2141+++ linux-2.6.33/arch/mips/ar231x/ar2315.c      2010-03-03 12:20:05.558287696 +0100 
    21102142@@ -0,0 +1,658 @@ 
    21112143+/* 
     
    21242156+ */ 
    21252157+ 
    2126 +#include <linux/autoconf.h> 
     2158+#include <generated/autoconf.h> 
    21272159+#include <linux/init.h> 
    21282160+#include <linux/module.h> 
     
    27672799+       ar231x_serial_setup(KSEG1ADDR(AR2315_UART0), ar2315_apb_frequency()); 
    27682800+} 
    2769 --- /dev/null 
    2770 +++ b/arch/mips/ar231x/ar2315.h 
     2801Index: linux-2.6.33/arch/mips/ar231x/ar2315.h 
     2802=================================================================== 
     2803--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2804+++ linux-2.6.33/arch/mips/ar231x/ar2315.h      2010-03-03 12:20:05.558287696 +0100 
    27712805@@ -0,0 +1,37 @@ 
    27722806+#ifndef __AR2315_H 
     
    28072841+ 
    28082842+#endif 
    2809 --- /dev/null 
    2810 +++ b/arch/mips/ar231x/ar5312.h 
     2843Index: linux-2.6.33/arch/mips/ar231x/ar5312.h 
     2844=================================================================== 
     2845--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2846+++ linux-2.6.33/arch/mips/ar231x/ar5312.h      2010-03-03 12:20:05.558287696 +0100 
    28112847@@ -0,0 +1,38 @@ 
    28122848+#ifndef __AR5312_H 
     
    28482884+ 
    28492885+#endif 
    2850 --- /dev/null 
    2851 +++ b/arch/mips/include/asm/mach-ar231x/ar231x.h 
     2886Index: linux-2.6.33/arch/mips/include/asm/mach-ar231x/ar231x.h 
     2887=================================================================== 
     2888--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2889+++ linux-2.6.33/arch/mips/include/asm/mach-ar231x/ar231x.h     2010-03-03 12:20:05.558287696 +0100 
    28522890@@ -0,0 +1,54 @@ 
    28532891+#ifndef __AR531X_H 
     
    29052943+ 
    29062944+#endif 
    2907 --- /dev/null 
    2908 +++ b/arch/mips/ar231x/devices.h 
     2945Index: linux-2.6.33/arch/mips/ar231x/devices.h 
     2946=================================================================== 
     2947--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2948+++ linux-2.6.33/arch/mips/ar231x/devices.h     2010-03-03 12:20:05.558287696 +0100 
    29092949@@ -0,0 +1,37 @@ 
    29102950+#ifndef __AR231X_DEVICES_H 
     
    29452985+ 
    29462986+#endif 
    2947 --- /dev/null 
    2948 +++ b/arch/mips/ar231x/devices.c 
     2987Index: linux-2.6.33/arch/mips/ar231x/devices.c 
     2988=================================================================== 
     2989--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2990+++ linux-2.6.33/arch/mips/ar231x/devices.c     2010-03-03 12:20:05.558287696 +0100 
    29492991@@ -0,0 +1,175 @@ 
    29502992+#include <linux/kernel.h> 
Note: See TracChangeset for help on using the changeset viewer.