From 1dfc3f93933021d0dfa7f723b3daba10620778aa Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 27 Aug 2007 10:37:12 +0000 Subject: Add a watchdog driver for rdc321x (needs testing) and try to detect the rdc cpu git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8505 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../rdc-2.6/patches/005-rdc_x86_cpu_type.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 target/linux/rdc-2.6/patches/005-rdc_x86_cpu_type.patch (limited to 'target/linux/rdc-2.6/patches/005-rdc_x86_cpu_type.patch') 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 000000000..185ec13f7 --- /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 + + /* -- cgit v1.2.3