1 Index: linux-2.6.25.1/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.25.1.orig/arch/mips/Kconfig
4 +++ linux-2.6.25.1/arch/mips/Kconfig
5 @@ -59,6 +59,18 @@ config BCM47XX
7 Support for BCM47XX based boards
10 + bool "Atheros SoC support (EXPERIMENTAL)"
11 + depends on EXPERIMENTAL
12 + select DMA_NONCOHERENT
16 + select SYS_HAS_CPU_MIPS32_R1
17 + select SYS_SUPPORTS_BIG_ENDIAN
18 + select SYS_SUPPORTS_32BIT_KERNEL
24 @@ -683,6 +695,7 @@ config WR_PPMC
28 +source "arch/mips/atheros/Kconfig"
29 source "arch/mips/au1000/Kconfig"
30 source "arch/mips/basler/excite/Kconfig"
31 source "arch/mips/jazz/Kconfig"
32 Index: linux-2.6.25.1/arch/mips/Makefile
33 ===================================================================
34 --- linux-2.6.25.1.orig/arch/mips/Makefile
35 +++ linux-2.6.25.1/arch/mips/Makefile
36 @@ -276,6 +276,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
37 load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
40 +# Atheros AR5312/AR2312 WiSoC
42 +core-$(CONFIG_ATHEROS) += arch/mips/atheros/
43 +cflags-$(CONFIG_ATHEROS) += -Iinclude/asm-mips/mach-atheros
44 +load-$(CONFIG_ATHEROS) += 0xffffffff80041000
49 core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
50 Index: linux-2.6.25.1/include/asm-mips/bootinfo.h
51 ===================================================================
52 --- linux-2.6.25.1.orig/include/asm-mips/bootinfo.h
53 +++ linux-2.6.25.1/include/asm-mips/bootinfo.h
55 #define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
56 #define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
59 + * Valid machtype for group ATHEROS
61 +#define MACH_GROUP_ATHEROS 26
62 +#define MACH_ATHEROS_AR5312 0
63 +#define MACH_ATHEROS_AR2312 1
64 +#define MACH_ATHEROS_AR2313 2
65 +#define MACH_ATHEROS_AR2315 3
66 +#define MACH_ATHEROS_AR2316 4
67 +#define MACH_ATHEROS_AR2317 5
68 +#define MACH_ATHEROS_AR2318 6
70 #define CL_SIZE COMMAND_LINE_SIZE
72 extern char *system_type;