lm_sensors/SOURCES/0001-sensors-detect-Add-support-for-AMD-CPU-Family-19h.patch
2021-10-08 20:14:38 +00:00

27 lines
783 B
Diff

From 0ed0dcd43556598c657dc527e3a8e5c04621e64b Mon Sep 17 00:00:00 2001
From: a b <a@b.c>
Date: Thu, 29 Oct 2020 17:25:38 +0100
Subject: [PATCH] Add support for AMD CPU Family 19h
---
prog/detect/sensors-detect | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 8ee1c1b..3bcb547 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -2779,6 +2779,10 @@ use vars qw(@cpu_ids);
name => "AMD Family 16h power sensors",
driver => "fam15h_power",
detect => sub { amd_pci_detect('1534') },
+ }, {
+ name => "AMD Family 19h thermal sensors",
+ driver => "k10temp",
+ detect => sub { amd_pci_detect('1653') },
}, {
name => "Intel digital thermal sensor",
driver => "coretemp",
--
2.26.2