Skip to content

Commit ac6bee4

Browse files
aeglhansendc
authored andcommitted
x86/PCI: Switch to new Intel CPU model defines
New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Link: https://lore.kernel.org/all/20240520224620.9480-30-tony.luck%40intel.com
1 parent 6568fc1 commit ac6bee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/pci/intel_mid_pci.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ static int pci_write(struct pci_bus *bus, unsigned int devfn, int where,
216216
}
217217

218218
static const struct x86_cpu_id intel_mid_cpu_ids[] = {
219-
X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, NULL),
219+
X86_MATCH_VFM(INTEL_ATOM_SILVERMONT_MID, NULL),
220220
{}
221221
};
222222

@@ -243,7 +243,7 @@ static int intel_mid_pci_irq_enable(struct pci_dev *dev)
243243
model = id->model;
244244

245245
switch (model) {
246-
case INTEL_FAM6_ATOM_SILVERMONT_MID:
246+
case VFM_MODEL(INTEL_ATOM_SILVERMONT_MID):
247247
polarity_low = false;
248248

249249
/* Special treatment for IRQ0 */

0 commit comments

Comments
 (0)