PageRenderTime 20ms CodeModel.GetById 10ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/arch/i386/kernel/cpu/umc.c

https://bitbucket.org/evzijst/gittest
C | 33 lines | 25 code | 5 blank | 3 comment | 0 complexity | 16c6cf65f7174f74893bbc516e41c73b MD5 | raw file
 1#include <linux/kernel.h>
 2#include <linux/init.h>
 3#include <asm/processor.h>
 4#include "cpu.h"
 5
 6/* UMC chips appear to be only either 386 or 486, so no special init takes place.
 7 */
 8static void __init init_umc(struct cpuinfo_x86 * c)
 9{
10
11}
12
13static struct cpu_dev umc_cpu_dev __initdata = {
14	.c_vendor	= "UMC",
15	.c_ident 	= { "UMC UMC UMC" },
16	.c_models = {
17		{ .vendor = X86_VENDOR_UMC, .family = 4, .model_names =
18		  { 
19			  [1] = "U5D", 
20			  [2] = "U5S", 
21		  }
22		},
23	},
24	.c_init		= init_umc,
25};
26
27int __init umc_init_cpu(void)
28{
29	cpu_devs[X86_VENDOR_UMC] = &umc_cpu_dev;
30	return 0;
31}
32
33//early_arch_initcall(umc_init_cpu);