diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-08-27 10:37:12 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-08-27 10:37:12 +0000 |
commit | 022e20b2a4d7e596b8cbbb37151d092f90b53201 (patch) | |
tree | f623eb05f03da71f062e1614c24a2553100b4393 /target/linux/rdc-2.6/patches | |
parent | 6b3f2ca7de643ece97ee2f7922724db46a604ba7 (diff) | |
download | upstream-022e20b2a4d7e596b8cbbb37151d092f90b53201.tar.gz upstream-022e20b2a4d7e596b8cbbb37151d092f90b53201.tar.bz2 upstream-022e20b2a4d7e596b8cbbb37151d092f90b53201.zip |
Add a watchdog driver for rdc321x (needs testing) and try to detect the rdc cpu
SVN-Revision: 8505
Diffstat (limited to 'target/linux/rdc-2.6/patches')
-rw-r--r-- | target/linux/rdc-2.6/patches/000-rdc_fixes.patch | 9 | ||||
-rw-r--r-- | target/linux/rdc-2.6/patches/005-rdc_x86_cpu_type.patch | 22 |
2 files changed, 22 insertions, 9 deletions
diff --git a/target/linux/rdc-2.6/patches/000-rdc_fixes.patch b/target/linux/rdc-2.6/patches/000-rdc_fixes.patch index b8cf2a9517..306fac79a6 100644 --- a/target/linux/rdc-2.6/patches/000-rdc_fixes.patch +++ b/target/linux/rdc-2.6/patches/000-rdc_fixes.patch @@ -30,15 +30,6 @@ diff -urN linux-2.6.19/arch/i386/Makefile linux-2.6.19.new/arch/i386/Makefile # default subarch .h files mflags-y += -Iinclude/asm-i386/mach-default -diff -urN linux-2.6.19/arch/i386/mach-rdc/Makefile linux-2.6.19.new/arch/i386/mach-rdc/Makefile ---- linux-2.6.19/arch/i386/mach-rdc/Makefile 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.19.new/arch/i386/mach-rdc/Makefile 2006-12-17 17:13:33.000000000 +0100 -@@ -0,0 +1,5 @@ -+# -+# Makefile for the linux kernel. -+# -+ -+obj-$(CONFIG_X86_RDC) := gpio.o platform.o --- timex.h 2007-08-07 10:44:03.816112250 -0700 +++ linux/include/asm-i386/timex.h 2007-08-07 10:48:47.905866750 -0700 @@ -11,6 +11,8 @@ diff --git a/target/linux/rdc-2.6/patches/005-rdc_x86_cpu_type.patch b/target/linux/rdc-2.6/patches/005-rdc_x86_cpu_type.patch new file mode 100644 index 0000000000..185ec13f7b --- /dev/null +++ b/target/linux/rdc-2.6/patches/005-rdc_x86_cpu_type.patch @@ -0,0 +1,22 @@ +diff -urN linux-2.6.22.1/arch/i386/kernel/cpu/Makefile linux-2.6.22.1.new/arch/i386/kernel/cpu/Makefile +--- linux-2.6.22.1/arch/i386/kernel/cpu/Makefile 2007-08-11 22:16:24.000000000 +0200 ++++ linux-2.6.22.1.new/arch/i386/kernel/cpu/Makefile 2007-08-13 16:37:32.000000000 +0200 +@@ -12,6 +12,7 @@ + obj-y += rise.o + obj-y += nexgen.o + obj-y += umc.o ++obj-$(CONFIG_X86_RDC) += rdc.o + + obj-$(CONFIG_X86_MCE) += mcheck/ + +diff -urN linux-2.6.22.1/arch/i386/kernel/cpu/Makefile linux-2.6.22.1.new/arch/i386/kernel/cpu/Makefile +--- linux-2.6.22.1/include/asm-i386/processor.h 2007-08-13 16:42:25.000000000 +0200 ++++ linux-2.6.22.1.new/include/asm-i386/processor.h 2007-08-13 16:51:19.000000000 +0200 +@@ -92,6 +92,7 @@ + #define X86_VENDOR_TRANSMETA 7 + #define X86_VENDOR_NSC 8 + #define X86_VENDOR_NUM 9 ++#define X86_VENDOR_RDC 10 + #define X86_VENDOR_UNKNOWN 0xff + + /* |