Accepting request 41018 from Base:System

checked in (request 41018)

OBS-URL: https://build.opensuse.org/request/show/41018
OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=24
This commit is contained in:
OBS User autobuild 2010-06-03 12:45:52 +00:00 committed by Git OBS Bridge
parent 3e0e9c963e
commit d2b67ae673
3 changed files with 0 additions and 27 deletions

View File

@ -1,19 +0,0 @@
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

View File

@ -1,9 +1,3 @@
-------------------------------------------------------------------
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

View File

@ -38,7 +38,6 @@ Patch4: lm_sensors-3.0.3-hint-at-kernel-extra-package.patch
Patch5: lm_sensors-3.1.1-no-ipmisensors-driver.patch
Patch6: lm_sensors-r5832-adt7468-driver.patch
Patch7: lm_sensors-r5835-fix-sensord-regression.patch
Patch8: lm_sensors-r5837-fix-fam10-RB-C3-detection.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: s390 s390x
@ -143,7 +142,6 @@ Authors:
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"