Blame SOURCES/0001-sensors-detect-Add-detection-of-AMD-Family-17h-model.patch

7ca109
From 1c41bbaea791b81382afe9a1c339df6b8aca9e00 Mon Sep 17 00:00:00 2001
7ca109
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
7ca109
Date: Thu, 10 Jan 2019 15:09:24 +0100
7ca109
Subject: [PATCH] sensors-detect: Add detection of AMD Family 17h model 30h
7ca109
MIME-Version: 1.0
7ca109
Content-Type: text/plain; charset=UTF-8
7ca109
Content-Transfer-Encoding: 8bit
7ca109
7ca109
Kernel support was added in mainline commit 210ba1201ff95.
7ca109
7ca109
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
7ca109
---
7ca109
 prog/detect/sensors-detect | 2 +-
7ca109
 1 file changed, 1 insertion(+), 1 deletion(-)
7ca109
7ca109
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
7ca109
index 206eb82..0151efc 100755
7ca109
--- a/prog/detect/sensors-detect
7ca109
+++ b/prog/detect/sensors-detect
7ca109
@@ -2535,7 +2535,7 @@ use vars qw(@cpu_ids);
7ca109
 	}, {
7ca109
 		name => "AMD Family 17h thermal sensors",
7ca109
 		driver => "k10temp",
7ca109
-		detect => sub { amd_pci_detect('1463', '15d0') },
7ca109
+		detect => sub { amd_pci_detect('1463', '15d0', '1493') },
7ca109
 	}, {
7ca109
 		name => "AMD Family 15h power sensors",
7ca109
 		driver => "fam15h_power",
7ca109
-- 
7ca109
2.17.2
7ca109