1 Star 0 Fork 3

Xuchun Shang/lm_sensors

forked from src-anolis-os/lm_sensors 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-sensors-detect-Add-detection-of-AMD-Family-17h-model.patch 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
From 782a2124b60837c981b61c2f6a5d4501d4e0f964 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
Date: Thu, 10 Jan 2019 15:09:24 +0100
Subject: [PATCH] sensors-detect: Add detection of AMD Family 17h model 30h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Kernel support was added in mainline commit 210ba1201ff95.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
---
prog/detect/sensors-detect | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 0b3b0ff2..4fa4c03e 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -2773,7 +2773,7 @@ use vars qw(@cpu_ids);
}, {
name => "AMD Family 17h thermal sensors",
driver => "k10temp",
- detect => sub { amd_pci_detect('1463', '15d0') },
+ detect => sub { amd_pci_detect('1463', '15d0', '1493') },
}, {
name => "AMD Family 15h power sensors",
driver => "fam15h_power",
--
2.20.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xuchun-shang/lm_sensors.git
git@gitee.com:xuchun-shang/lm_sensors.git
xuchun-shang
lm_sensors
lm_sensors
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385