Skip to content

Commit

Permalink
[AMD][Family 1Ah] Merge PCI identifier lists
Browse files Browse the repository at this point in the history
  • Loading branch information
cyring committed Nov 17, 2024
1 parent c75af85 commit 7ee38f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

COREFREQ_MAJOR = 1
COREFREQ_MINOR = 98
COREFREQ_REV = 6
COREFREQ_REV = 7
HW = $(shell uname -m)
CC ?= cc
WARNING = -Wall -Wfatal-errors
Expand Down
9 changes: 3 additions & 6 deletions x86_64/corefreqk.h
Original file line number Diff line number Diff line change
Expand Up @@ -3442,13 +3442,7 @@ static struct pci_device_id PCI_AMD_17h_ids[] = {
PCI_VDEVICE(AMD, DID_AMD_19H_PHOENIX_DF_UMC),
.driver_data = (kernel_ulong_t) AMD_DataFabric_Phoenix
},
{0, }
};

#define PCI_AMD_19h_ids PCI_AMD_17h_ids

/* AMD Family 1Ah */
static struct pci_device_id PCI_AMD_1Ah_ids[] = {
{
PCI_VDEVICE(AMD, DID_AMD_1AH_ZEN5_TURIN_IOMMU),
.driver_data = (kernel_ulong_t) AMD_Zen_IOMMU
Expand All @@ -3460,6 +3454,9 @@ static struct pci_device_id PCI_AMD_1Ah_ids[] = {
{0, }
};

#define PCI_AMD_19h_ids PCI_AMD_17h_ids
#define PCI_AMD_1Ah_ids PCI_AMD_17h_ids

/* Left as empty for initialization purpose. */
static char *Arch_Misc_Processor[] = ZLIST(NULL);

Expand Down

0 comments on commit 7ee38f9

Please sign in to comment.