1 diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig
2 --- linux.old/arch/mips/Kconfig 2007-02-02 23:55:52.912446784 +0100
3 +++ linux.dev/arch/mips/Kconfig 2007-02-03 21:50:25.262027104 +0100
5 note that a kernel built with this option selected will not be
6 able to run on normal units.
9 + bool "Atheros SoC support (EXPERIMENTAL)"
10 + depends on EXPERIMENTAL
11 + select DMA_NONCOHERENT
13 + select SYS_HAS_CPU_MIPS32_R1
14 + select SYS_SUPPORTS_BIG_ENDIAN
15 + select SYS_SUPPORTS_32BIT_KERNEL
20 select DMA_NONCOHERENT
25 +source "arch/mips/atheros/Kconfig"
26 source "arch/mips/au1000/Kconfig"
27 source "arch/mips/jazz/Kconfig"
28 source "arch/mips/pmc-sierra/Kconfig"
29 diff -urN linux.old/arch/mips/Makefile linux.dev/arch/mips/Makefile
30 --- linux.old/arch/mips/Makefile 2007-02-02 23:55:52.913446632 +0100
31 +++ linux.dev/arch/mips/Makefile 2007-02-03 17:40:29.193776000 +0100
33 load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
36 +# Atheros AR5312/AR2312 WiSoC
38 +core-$(CONFIG_ATHEROS) += arch/mips/atheros/
39 +cflags-$(CONFIG_ATHEROS) += -Iinclude/asm-mips/mach-atheros
40 +load-$(CONFIG_ATHEROS) += 0xffffffff80041000
45 core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
46 diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/bootinfo.h
47 --- linux.old/include/asm-mips/bootinfo.h 2007-02-02 23:55:52.913446632 +0100
48 +++ linux.dev/include/asm-mips/bootinfo.h 2007-02-03 17:51:02.531494032 +0100
50 #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
51 #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
54 + * Valid machtype for group ATHEROS
56 +#define MACH_GROUP_ATHEROS 26
57 +#define MACH_ATHEROS_AR5312 0
58 +#define MACH_ATHEROS_AR2312 1
59 +#define MACH_ATHEROS_AR2313 2
60 +#define MACH_ATHEROS_AR2315 3
61 +#define MACH_ATHEROS_AR2316 4
62 +#define MACH_ATHEROS_AR2317 5
63 +#define MACH_ATHEROS_AR2318 6
65 #define CL_SIZE COMMAND_LINE_SIZE
67 const char *get_system_type(void);