| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Intel SpeedStep SMI driver. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * (C) 2003 Hiroshi Miura <miura@da-cha.org> |
|---|
| 5 | | - * |
|---|
| 6 | | - * Licensed under the terms of the GNU GPL License version 2. |
|---|
| 7 | | - * |
|---|
| 8 | 6 | */ |
|---|
| 9 | 7 | |
|---|
| 10 | 8 | |
|---|
| .. | .. |
|---|
| 301 | 299 | }; |
|---|
| 302 | 300 | |
|---|
| 303 | 301 | static const struct x86_cpu_id ss_smi_ids[] = { |
|---|
| 304 | | - { X86_VENDOR_INTEL, 6, 0xb, }, |
|---|
| 305 | | - { X86_VENDOR_INTEL, 6, 0x8, }, |
|---|
| 306 | | - { X86_VENDOR_INTEL, 15, 2 }, |
|---|
| 302 | + X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, 0x8, 0), |
|---|
| 303 | + X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, 0xb, 0), |
|---|
| 304 | + X86_MATCH_VENDOR_FAM_MODEL(INTEL, 15, 0x2, 0), |
|---|
| 307 | 305 | {} |
|---|
| 308 | 306 | }; |
|---|
| 309 | | -#if 0 |
|---|
| 310 | | -/* Not auto loaded currently */ |
|---|
| 311 | | -MODULE_DEVICE_TABLE(x86cpu, ss_smi_ids); |
|---|
| 312 | | -#endif |
|---|
| 313 | 307 | |
|---|
| 314 | 308 | /** |
|---|
| 315 | 309 | * speedstep_init - initializes the SpeedStep CPUFreq driver |
|---|