From 5ed3765eff55aa7ccd42539a18df868445540f59 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 12 Nov 2021 19:54:55 -0600 Subject: WIP #2: Add Zen 3 APU PCI IDs --- zenpower.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zenpower.c b/zenpower.c index 0ab72d5..a0e177b 100644 --- a/zenpower.c +++ b/zenpower.c @@ -70,6 +70,14 @@ MODULE_PARM_DESC(zen1_calc, "Set to 1 to use ZEN1 calculation"); #define PCI_DEVICE_ID_AMD_19H_DF_F3 0x1653 #endif +#ifndef PCI_DEVICE_ID_AMD_19H_M40H_DF_F4 +#define PCI_DEVICE_ID_AMD_19H_M40H_DF_F4 0x167d +#endif + +#ifndef PCI_DEVICE_ID_AMD_19H_M50H_DF_F4 +#define PCI_DEVICE_ID_AMD_19H_M50H_DF_F4 0x166e +#endif + /* F17H_M01H_SVI, should be renamed to something generic I think... */ #define F17H_M01H_REPORTED_TEMP_CTRL 0x00059800 @@ -723,6 +731,8 @@ static const struct pci_device_id zenpower_id_table[] = { { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M60H_DF_F3) }, { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) }, { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_DF_F3) }, + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M40H_DF_F3) }, + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) }, {} }; MODULE_DEVICE_TABLE(pci, zenpower_id_table); -- cgit v1.2.3-70-g09d2