1 Index: linux-2.6.24.7/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.24.7.orig/arch/mips/Kconfig
4 +++ linux-2.6.24.7/arch/mips/Kconfig
5 @@ -67,6 +67,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 @@ -689,6 +701,7 @@ config WR_PPMC
28 +source "arch/mips/atheros/Kconfig"
29 source "arch/mips/au1000/Kconfig"
30 source "arch/mips/jazz/Kconfig"
31 source "arch/mips/lasat/Kconfig"
32 Index: linux-2.6.24.7/arch/mips/Makefile
33 ===================================================================
34 --- linux-2.6.24.7.orig/arch/mips/Makefile
35 +++ linux-2.6.24.7/arch/mips/Makefile
36 @@ -268,6 +268,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.24.7/include/asm-mips/bootinfo.h
51 ===================================================================
52 --- linux-2.6.24.7.orig/include/asm-mips/bootinfo.h
53 +++ linux-2.6.24.7/include/asm-mips/bootinfo.h
55 #define MACH_GROUP_BRCM 23 /* Broadcom */
56 #define MACH_BCM47XX 1 /* Broadcom BCM47XX */
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 const char *get_system_type(void);