Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #include <linux/kernel.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | #include <asm/processor.h> |
4 | #include "cpu.h" | ||||
5 | |||||
Paolo Ciarrocchi | 48e6b7a | 2008-02-21 00:18:34 +0100 | [diff] [blame] | 6 | /* |
7 | * UMC chips appear to be only either 386 or 486, | ||||
8 | * so no special init takes place. | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Paul Gortmaker | 148f9bb | 2013-06-18 18:23:59 -0400 | [diff] [blame] | 11 | static const struct cpu_dev umc_cpu_dev = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | .c_vendor = "UMC", |
Paolo Ciarrocchi | 48e6b7a | 2008-02-21 00:18:34 +0100 | [diff] [blame] | 13 | .c_ident = { "UMC UMC UMC" }, |
Jan Beulich | 09dc68d | 2013-10-21 09:35:20 +0100 | [diff] [blame] | 14 | .legacy_models = { |
15 | { .family = 4, .model_names = | ||||
Paolo Ciarrocchi | 48e6b7a | 2008-02-21 00:18:34 +0100 | [diff] [blame] | 16 | { |
17 | [1] = "U5D", | ||||
18 | [2] = "U5S", | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | } |
20 | }, | ||||
21 | }, | ||||
Yinghai Lu | 10a434f | 2008-09-04 21:09:45 +0200 | [diff] [blame] | 22 | .c_x86_vendor = X86_VENDOR_UMC, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | }; |
24 | |||||
Yinghai Lu | 10a434f | 2008-09-04 21:09:45 +0200 | [diff] [blame] | 25 | cpu_dev_register(umc_cpu_dev); |
Thomas Petazzoni | 03ae576 | 2008-02-15 12:00:23 +0100 | [diff] [blame] | 26 |