2005-04-17 00:20:36 +02:00
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/processor.h>
|
|
|
|
#include "cpu.h"
|
|
|
|
|
|
|
|
/* UMC chips appear to be only either 386 or 486, so no special init takes place.
|
|
|
|
*/
|
|
|
|
static void __init init_umc(struct cpuinfo_x86 * c)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2006-09-26 10:52:36 +02:00
|
|
|
static struct cpu_dev umc_cpu_dev __cpuinitdata = {
|
2005-04-17 00:20:36 +02:00
|
|
|
.c_vendor = "UMC",
|
|
|
|
.c_ident = { "UMC UMC UMC" },
|
|
|
|
.c_models = {
|
|
|
|
{ .vendor = X86_VENDOR_UMC, .family = 4, .model_names =
|
|
|
|
{
|
|
|
|
[1] = "U5D",
|
|
|
|
[2] = "U5S",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
.c_init = init_umc,
|
|
|
|
};
|
|
|
|
|
|
|
|
int __init umc_init_cpu(void)
|
|
|
|
{
|
|
|
|
cpu_devs[X86_VENDOR_UMC] = &umc_cpu_dev;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
//early_arch_initcall(umc_init_cpu);
|
2006-02-05 08:28:03 +01:00
|
|
|
|
|
|
|
static int __init umc_exit_cpu(void)
|
|
|
|
{
|
|
|
|
cpu_devs[X86_VENDOR_UMC] = NULL;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
late_initcall(umc_exit_cpu);
|