blob: 1bf3f87e9c5b66cb244c3f6d9902b35701ef9d8e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Magnus Damm95414932006-09-26 10:52:36 +02009static struct cpu_dev umc_cpu_dev __cpuinitdata = {
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 .c_vendor = "UMC",
11 .c_ident = { "UMC UMC UMC" },
12 .c_models = {
13 { .vendor = X86_VENDOR_UMC, .family = 4, .model_names =
14 {
15 [1] = "U5D",
16 [2] = "U5S",
17 }
18 },
19 },
Linus Torvalds1da177e2005-04-16 15:20:36 -070020};
21
22int __init umc_init_cpu(void)
23{
24 cpu_devs[X86_VENDOR_UMC] = &umc_cpu_dev;
25 return 0;
26}
27
28//early_arch_initcall(umc_init_cpu);
Chuck Ebbertfe38d852006-02-04 23:28:03 -080029
30static int __init umc_exit_cpu(void)
31{
32 cpu_devs[X86_VENDOR_UMC] = NULL;
33 return 0;
34}
35
36late_initcall(umc_exit_cpu);