1 Index: linux-2.6.23.17/arch/mips/Kconfig
2 ===================================================================
3 --- linux-2.6.23.17.orig/arch/mips/Kconfig
4 +++ linux-2.6.23.17/arch/mips/Kconfig
5 @@ -44,6 +44,16 @@ config BASLER_EXCITE_PROTOTYPE
6 note that a kernel built with this option selected will not be
7 able to run on normal units.
10 + bool "Atheros SoC support (EXPERIMENTAL)"
11 + depends on EXPERIMENTAL
12 + select DMA_NONCOHERENT
14 + select SYS_HAS_CPU_MIPS32_R1
15 + select SYS_SUPPORTS_BIG_ENDIAN
16 + select SYS_SUPPORTS_32BIT_KERNEL
21 select DMA_NONCOHERENT
22 @@ -597,6 +607,7 @@ config WR_PPMC
26 +source "arch/mips/atheros/Kconfig"
27 source "arch/mips/au1000/Kconfig"
28 source "arch/mips/jazz/Kconfig"
29 source "arch/mips/pmc-sierra/Kconfig"
30 Index: linux-2.6.23.17/arch/mips/Makefile
31 ===================================================================
32 --- linux-2.6.23.17.orig/arch/mips/Makefile
33 +++ linux-2.6.23.17/arch/mips/Makefile
34 @@ -270,6 +270,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
35 load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
38 +# Atheros AR5312/AR2312 WiSoC
40 +core-$(CONFIG_ATHEROS) += arch/mips/atheros/
41 +cflags-$(CONFIG_ATHEROS) += -Iinclude/asm-mips/mach-atheros
42 +load-$(CONFIG_ATHEROS) += 0xffffffff80041000
47 core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
48 Index: linux-2.6.23.17/include/asm-mips/bootinfo.h
49 ===================================================================
50 --- linux-2.6.23.17.orig/include/asm-mips/bootinfo.h
51 +++ linux-2.6.23.17/include/asm-mips/bootinfo.h
53 #define MACH_GROUP_WINDRIVER 28 /* Windriver boards */
57 + * Valid machtype for group ATHEROS
59 +#define MACH_GROUP_ATHEROS 26
60 +#define MACH_ATHEROS_AR5312 0
61 +#define MACH_ATHEROS_AR2312 1
62 +#define MACH_ATHEROS_AR2313 2
63 +#define MACH_ATHEROS_AR2315 3
64 +#define MACH_ATHEROS_AR2316 4
65 +#define MACH_ATHEROS_AR2317 5
66 +#define MACH_ATHEROS_AR2318 6
68 #define CL_SIZE COMMAND_LINE_SIZE
70 const char *get_system_type(void);