mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
24
target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c
Normal file
24
target/linux/rdc/files/arch/i386/kernel/cpu/rdc.c
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user