aboutsummaryrefslogtreecommitdiff
path: root/zenpower.c
diff options
context:
space:
mode:
authorNick Bürger2019-07-24 20:18:05 +0200
committerNick Bürger2019-07-24 20:18:05 +0200
commit4afd3874026c8a8a147cc2d8c5f5378921febe0b (patch)
treec0608608bb5175d6e6d0efbb8239a614de6ed4e2 /zenpower.c
parent8609fd7acbcd1565ddf6b1be09be1ff5df7ce007 (diff)
Added support for Ryzen 9
Diffstat (limited to 'zenpower.c')
-rw-r--r--zenpower.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/zenpower.c b/zenpower.c
index b4d3ec2..5bf691b 100644
--- a/zenpower.c
+++ b/zenpower.c
@@ -32,6 +32,10 @@ MODULE_LICENSE("GPL");
#define PCI_DEVICE_ID_AMD_17H_M30H_DF_F3 0x1493
#endif
+#ifndef PCI_DEVICE_ID_AMD_17H_M70H_DF_F3
+#define PCI_DEVICE_ID_AMD_17H_M70H_DF_F3 0x1443
+#endif
+
/* F17h M01h Access througn SMN */
#define F17H_M01H_REPORTED_TEMP_CTRL_OFFSET 0x00059800
#define F17H_M01H_SVI 0x0005A000
@@ -320,6 +324,7 @@ static const struct pci_device_id zenpower_id_table[] = {
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_DF_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M30H_DF_F3) },
+ { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) },
{}
};
MODULE_DEVICE_TABLE(pci, zenpower_id_table);