| 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 | */ | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 |  | 
| Magnus Damm | 9541493 | 2006-09-26 10:52:36 +0200 | [diff] [blame] | 9 | static struct cpu_dev umc_cpu_dev __cpuinitdata = { | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | .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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | }; | 
|  | 21 |  | 
|  | 22 | int __init umc_init_cpu(void) | 
|  | 23 | { | 
|  | 24 | cpu_devs[X86_VENDOR_UMC] = &umc_cpu_dev; | 
|  | 25 | return 0; | 
|  | 26 | } |