2008-05-19 07:16:54 +00:00
|
|
|
Index: linux-2.6.23.17/arch/mips/Kconfig
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.23.17.orig/arch/mips/Kconfig
|
|
|
|
+++ linux-2.6.23.17/arch/mips/Kconfig
|
|
|
|
@@ -44,6 +44,16 @@ config BASLER_EXCITE_PROTOTYPE
|
2006-12-25 08:05:48 +00:00
|
|
|
note that a kernel built with this option selected will not be
|
|
|
|
able to run on normal units.
|
|
|
|
|
2007-02-04 21:18:10 +00:00
|
|
|
+config ATHEROS
|
|
|
|
+ bool "Atheros SoC support (EXPERIMENTAL)"
|
2006-12-25 08:05:48 +00:00
|
|
|
+ depends on EXPERIMENTAL
|
|
|
|
+ select DMA_NONCOHERENT
|
|
|
|
+ select IRQ_CPU
|
|
|
|
+ select SYS_HAS_CPU_MIPS32_R1
|
|
|
|
+ select SYS_SUPPORTS_BIG_ENDIAN
|
|
|
|
+ select SYS_SUPPORTS_32BIT_KERNEL
|
2008-04-03 20:28:10 +00:00
|
|
|
+ select GENERIC_GPIO
|
2006-12-25 08:05:48 +00:00
|
|
|
+
|
|
|
|
config MIPS_COBALT
|
|
|
|
bool "Cobalt Server"
|
|
|
|
select DMA_NONCOHERENT
|
2008-05-19 07:16:54 +00:00
|
|
|
@@ -597,6 +607,7 @@ config WR_PPMC
|
2006-12-25 08:05:48 +00:00
|
|
|
|
2007-02-04 21:18:10 +00:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
+source "arch/mips/atheros/Kconfig"
|
2007-07-12 10:19:36 +00:00
|
|
|
source "arch/mips/au1000/Kconfig"
|
2008-04-03 20:28:10 +00:00
|
|
|
source "arch/mips/jazz/Kconfig"
|
|
|
|
source "arch/mips/pmc-sierra/Kconfig"
|
2008-05-19 07:16:54 +00:00
|
|
|
Index: linux-2.6.23.17/arch/mips/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.23.17.orig/arch/mips/Makefile
|
|
|
|
+++ linux-2.6.23.17/arch/mips/Makefile
|
|
|
|
@@ -270,6 +270,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
|
2006-12-25 08:05:48 +00:00
|
|
|
load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
|
|
|
|
|
|
|
|
#
|
|
|
|
+# Atheros AR5312/AR2312 WiSoC
|
|
|
|
+#
|
2007-02-04 21:18:10 +00:00
|
|
|
+core-$(CONFIG_ATHEROS) += arch/mips/atheros/
|
|
|
|
+cflags-$(CONFIG_ATHEROS) += -Iinclude/asm-mips/mach-atheros
|
|
|
|
+load-$(CONFIG_ATHEROS) += 0xffffffff80041000
|
2006-12-25 08:05:48 +00:00
|
|
|
+
|
|
|
|
+#
|
|
|
|
# Cobalt Server
|
|
|
|
#
|
|
|
|
core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
|
2008-05-19 07:16:54 +00:00
|
|
|
Index: linux-2.6.23.17/include/asm-mips/bootinfo.h
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.23.17.orig/include/asm-mips/bootinfo.h
|
|
|
|
+++ linux-2.6.23.17/include/asm-mips/bootinfo.h
|
|
|
|
@@ -208,6 +208,18 @@
|
|
|
|
#define MACH_GROUP_WINDRIVER 28 /* Windriver boards */
|
|
|
|
#define MACH_WRPPMC 1
|
2006-12-25 08:05:48 +00:00
|
|
|
|
|
|
|
+/*
|
2007-02-04 21:18:10 +00:00
|
|
|
+ * Valid machtype for group ATHEROS
|
2006-12-25 08:05:48 +00:00
|
|
|
+ */
|
2007-02-04 21:18:10 +00:00
|
|
|
+#define MACH_GROUP_ATHEROS 26
|
2007-02-16 09:23:15 +00:00
|
|
|
+#define MACH_ATHEROS_AR5312 0
|
|
|
|
+#define MACH_ATHEROS_AR2312 1
|
|
|
|
+#define MACH_ATHEROS_AR2313 2
|
|
|
|
+#define MACH_ATHEROS_AR2315 3
|
|
|
|
+#define MACH_ATHEROS_AR2316 4
|
|
|
|
+#define MACH_ATHEROS_AR2317 5
|
|
|
|
+#define MACH_ATHEROS_AR2318 6
|
2006-12-25 08:05:48 +00:00
|
|
|
+
|
|
|
|
#define CL_SIZE COMMAND_LINE_SIZE
|
|
|
|
|
|
|
|
const char *get_system_type(void);
|