summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 11:07:07 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 11:07:07 +0000
commit78b528942d5de6426e49cd0cfa9ffa4e22d50232 (patch)
tree28633541800f7bcde74af9a1279571df9271b1f7 /target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c
parentbe07fabdd80da56125283caf3938b01d01e3b23e (diff)
Put back 2.6.24 files as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11593 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c')
-rw-r--r--target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c b/target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c
new file mode 100644
index 000000000..f4b9083bf
--- /dev/null
+++ b/target/linux/rdc/files/arch/x86/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;
+}