summaryrefslogtreecommitdiff
path: root/target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 11:06:32 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 11:06:32 +0000
commitbe07fabdd80da56125283caf3938b01d01e3b23e (patch)
treee6269f94b21d6d6e8d208b55f98cae7c23847a48 /target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c
parente2a5cd999c401b7c6ef69db6df118eece9fecf3a (diff)
Put back 2.6.23 files for rdc, allowing to switch from one kernel version to another for testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11592 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c')
-rw-r--r--target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c b/target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c
new file mode 100644
index 0000000000..f4b9083bfc
--- /dev/null
+++ b/target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c
@@ -0,0 +1,24 @@
+#include <linux/init.h>
+#include <linux/bitops.h>
+#include <linux/mm.h>
+#include <asm/io.h>
+#include <asm/processor.h>
+
+#include "cpu.h"
+
+static struct cpu_dev rdc_cpu_dev __cpuinitdata = {
+ .c_vendor = "RDC",
+ .c_models = {
+ { .vendor = X86_VENDOR_RDC, .family = 4, .model_names =
+ {
+ [0] = "R861x(-G)",
+ }
+ },
+ },
+};
+
+int __init rdc_init_cpu(void)
+{
+ cpu_devs[X86_VENDOR_RDC] = &rdc_cpu_dev;
+ return 0;
+}