X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/54580431130d72f8625f11c78b1ab1fb12d65a0c..2d2ad6f7042e9f6c3f7574958016b3cc8aa77d28:/target/linux/atheros/patches-2.6.24/100-board.patch diff --git a/target/linux/atheros/patches-2.6.24/100-board.patch b/target/linux/atheros/patches-2.6.24/100-board.patch index fc72d8293..ee0495708 100644 --- a/target/linux/atheros/patches-2.6.24/100-board.patch +++ b/target/linux/atheros/patches-2.6.24/100-board.patch @@ -1,9 +1,10 @@ -diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig ---- linux.old/arch/mips/Kconfig 2007-02-02 23:55:52.912446784 +0100 -+++ linux.dev/arch/mips/Kconfig 2007-02-03 21:50:25.262027104 +0100 -@@ -45,6 +45,17 @@ - note that a kernel built with this option selected will not be - able to run on normal units. +Index: linux-2.6.24.7/arch/mips/Kconfig +=================================================================== +--- linux-2.6.24.7.orig/arch/mips/Kconfig ++++ linux-2.6.24.7/arch/mips/Kconfig +@@ -67,6 +67,18 @@ config BCM47XX + help + Support for BCM47XX based boards +config ATHEROS + bool "Atheros SoC support (EXPERIMENTAL)" @@ -15,22 +16,24 @@ diff -urN linux.old/arch/mips/Kconfig linux.dev/arch/mips/Kconfig + select SYS_HAS_CPU_MIPS32_R1 + select SYS_SUPPORTS_BIG_ENDIAN + select SYS_SUPPORTS_32BIT_KERNEL ++ select GENERIC_GPIO + config MIPS_COBALT bool "Cobalt Server" - select DMA_NONCOHERENT -@@ -658,6 +668,7 @@ + select CEVT_R4K +@@ -689,6 +701,7 @@ config WR_PPMC endchoice +source "arch/mips/atheros/Kconfig" source "arch/mips/au1000/Kconfig" - source "arch/mips/ddb5xxx/Kconfig" - source "arch/mips/gt64120/ev64120/Kconfig" -diff -urN linux.old/arch/mips/Makefile linux.dev/arch/mips/Makefile ---- linux.old/arch/mips/Makefile 2007-02-02 23:55:52.913446632 +0100 -+++ linux.dev/arch/mips/Makefile 2007-02-03 17:40:29.193776000 +0100 -@@ -267,6 +267,13 @@ + source "arch/mips/jazz/Kconfig" + source "arch/mips/lasat/Kconfig" +Index: linux-2.6.24.7/arch/mips/Makefile +=================================================================== +--- linux-2.6.24.7.orig/arch/mips/Makefile ++++ linux-2.6.24.7/arch/mips/Makefile +@@ -268,6 +268,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000 # @@ -44,12 +47,13 @@ diff -urN linux.old/arch/mips/Makefile linux.dev/arch/mips/Makefile # Cobalt Server # core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/ -diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/bootinfo.h ---- linux.old/include/asm-mips/bootinfo.h 2007-02-02 23:55:52.913446632 +0100 -+++ linux.dev/include/asm-mips/bootinfo.h 2007-02-03 17:51:02.531494032 +0100 -@@ -213,6 +213,18 @@ - #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */ - #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */ +Index: linux-2.6.24.7/include/asm-mips/bootinfo.h +=================================================================== +--- linux-2.6.24.7.orig/include/asm-mips/bootinfo.h ++++ linux-2.6.24.7/include/asm-mips/bootinfo.h +@@ -198,6 +198,18 @@ + #define MACH_GROUP_BRCM 23 /* Broadcom */ + #define MACH_BCM47XX 1 /* Broadcom BCM47XX */ +/* + * Valid machtype for group ATHEROS @@ -66,4 +70,3 @@ diff -urN linux.old/include/asm-mips/bootinfo.h linux.dev/include/asm-mips/booti #define CL_SIZE COMMAND_LINE_SIZE const char *get_system_type(void); -