Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | */ |
| 8 | static void __init init_umc(struct cpuinfo_x86 * c) |
| 9 | { |
| 10 | |
| 11 | } |
| 12 | |
| 13 | static 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 | |
| 27 | int __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); |