diff options
author | Ondrej Čerman | 2020-06-14 21:54:57 +0200 |
---|---|---|
committer | Ondrej Čerman | 2020-06-14 21:57:52 +0200 |
commit | 5e2f56fabeba0c909edb90221eeace4a3d726dbb (patch) | |
tree | 35ea387acf1c313d7d6a8ef987606469ad24ac6d /zenpower.c | |
parent | 86f79621b0c4b03a983d70850bf04b6cb1b9f2a4 (diff) |
Added PCI Dev IDS for Model 60 (Ryzen 4000 APUs)v0.1.12
Diffstat (limited to 'zenpower.c')
-rw-r--r-- | zenpower.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -38,7 +38,7 @@ MODULE_DESCRIPTION("AMD ZEN family CPU Sensors Driver"); MODULE_AUTHOR("Ondrej Čerman"); MODULE_LICENSE("GPL"); -MODULE_VERSION("0.1.11"); +MODULE_VERSION("0.1.12"); #ifndef PCI_DEVICE_ID_AMD_17H_DF_F3 @@ -53,6 +53,10 @@ MODULE_VERSION("0.1.11"); #define PCI_DEVICE_ID_AMD_17H_M30H_DF_F3 0x1493 #endif +#ifndef PCI_DEVICE_ID_AMD_17H_M60H_DF_F3 +#define PCI_DEVICE_ID_AMD_17H_M60H_DF_F3 0x144b +#endif + #ifndef PCI_DEVICE_ID_AMD_17H_M70H_DF_F3 #define PCI_DEVICE_ID_AMD_17H_M70H_DF_F3 0x1443 #endif @@ -598,6 +602,10 @@ static int zenpower_probe(struct pci_dev *pdev, const struct pci_device_id *id) ccd_check = 8; break; + case 0x60: // Zen2 APU + data->zen2 = true; + break; + case 0x71: // Zen2 Ryzen data->zen2 = true; data->amps_visible = true; @@ -642,6 +650,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_M60H_DF_F3) }, { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) }, {} }; |