Accepting request 41018 from Base:System
Copy from Base:System/sensors based on submit request 41018 from user jdelvare OBS-URL: https://build.opensuse.org/request/show/41018 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sensors?expand=0&rev=55
This commit is contained in:
committed by
Git OBS Bridge
parent
46575afd9b
commit
41c632f958
19
lm_sensors-r5837-fix-fam10-RB-C3-detection.patch
Normal file
19
lm_sensors-r5837-fix-fam10-RB-C3-detection.patch
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Fix detection of RB-C3 AMD Family 10h CPU. This core is only used in
|
||||||
|
packages not affected by erratum 319, so we don't have to use the
|
||||||
|
unreliable DDR2 vs. DDR3 approach for it.
|
||||||
|
|
||||||
|
---
|
||||||
|
prog/detect/sensors-detect | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- lm_sensors-3.1.2.orig/prog/detect/sensors-detect
|
||||||
|
+++ lm_sensors-3.1.2/prog/detect/sensors-detect
|
||||||
|
@@ -5425,7 +5425,7 @@ sub fam10h_pci_detect
|
||||||
|
|
||||||
|
next if $probecpu->{model} < 4; # DR-B*
|
||||||
|
next if $probecpu->{model} == 8; # HY-D0
|
||||||
|
- if ($probecpu->{model} == 4) { # RB-C*
|
||||||
|
+ if ($probecpu->{model} == 4 && $probecpu->{stepping} <= 2) { # RB-C2
|
||||||
|
my @dram_cfg = split /\n/, `setpci -d 1022:1202 94.L 2>/dev/null`;
|
||||||
|
next unless @dram_cfg >= 1;
|
||||||
|
next unless hex($dram_cfg[0]) & 0x00000100; # DDR3
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 1 14:46:23 CEST 2010 - jdelvare@suse.de
|
||||||
|
|
||||||
|
- lm_sensors-r5837-fix-fam10-RB-C3-detection.patch: Fix detection
|
||||||
|
of RB-C3 AMD Family 10h CPU.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 7 11:48:40 CEST 2010 - jdelvare@suse.de
|
Fri May 7 11:48:40 CEST 2010 - jdelvare@suse.de
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@ Name: sensors
|
|||||||
BuildRequires: bison flex rrdtool-devel
|
BuildRequires: bison flex rrdtool-devel
|
||||||
Url: http://www.lm-sensors.org/
|
Url: http://www.lm-sensors.org/
|
||||||
Version: 3.1.2
|
Version: 3.1.2
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Hardware health monitoring for Linux
|
Summary: Hardware health monitoring for Linux
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
@@ -38,6 +38,7 @@ Patch4: lm_sensors-3.0.3-hint-at-kernel-extra-package.patch
|
|||||||
Patch5: lm_sensors-3.1.1-no-ipmisensors-driver.patch
|
Patch5: lm_sensors-3.1.1-no-ipmisensors-driver.patch
|
||||||
Patch6: lm_sensors-r5832-adt7468-driver.patch
|
Patch6: lm_sensors-r5832-adt7468-driver.patch
|
||||||
Patch7: lm_sensors-r5835-fix-sensord-regression.patch
|
Patch7: lm_sensors-r5835-fix-sensord-regression.patch
|
||||||
|
Patch8: lm_sensors-r5837-fix-fam10-RB-C3-detection.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
@@ -142,6 +143,7 @@ Authors:
|
|||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch8 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||||
|
Reference in New Issue
Block a user