diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-06-28 11:06:32 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-06-28 11:06:32 +0000 |
commit | 9e151671a9080263eaf64a3369ece974f196b481 (patch) | |
tree | 30d4b7ed6f711c5c06522752f22d7b293ca70ca5 /target/linux/rdc/files/arch/i386/kernel | |
parent | 5553c4da8cf0c437c38e09951645e021ded81e5b (diff) | |
download | upstream-9e151671a9080263eaf64a3369ece974f196b481.tar.gz upstream-9e151671a9080263eaf64a3369ece974f196b481.tar.bz2 upstream-9e151671a9080263eaf64a3369ece974f196b481.zip |
Put back 2.6.23 files for rdc, allowing to switch from one kernel version to another for testing
SVN-Revision: 11592
Diffstat (limited to 'target/linux/rdc/files/arch/i386/kernel')
-rw-r--r-- | target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c | 24 |
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; +} |