Accepting request 238040 from Base:System
Fix DDR3 extended temp range refresh rate decoding OBS-URL: https://build.opensuse.org/request/show/238040 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/i2c-tools?expand=0&rev=27
This commit is contained in:
commit
ce8c0b2495
21
i2c-tools-r6250-ddr3-fix-ext-temp-refresh.diff
Normal file
21
i2c-tools-r6250-ddr3-fix-ext-temp-refresh.diff
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Subject: decode-dimms: Fix DDR3 extended temp range refresh rate decoding
|
||||||
|
Upstream: yes (r6250)
|
||||||
|
|
||||||
|
Based on a patch from Peter Missel. The meaning of byte 31, bit 1,
|
||||||
|
was inverted. Also, this bit is only meaningful if the extended
|
||||||
|
temperature range is supported (bit 0 is set.)
|
||||||
|
|
||||||
|
--- i2c-tools-3.1/eeprom/decode-dimms (revision 6231)
|
||||||
|
+++ i2c-tools-3.1/eeprom/decode-dimms (revision 6250)
|
||||||
|
@@ -1289,8 +1289,9 @@
|
||||||
|
printl("DLL-Off Mode supported?", ($bytes->[30] & 128) ? "Yes" : "No");
|
||||||
|
printl("Operating temperature range", sprintf "0-%d degrees C",
|
||||||
|
($bytes->[31] & 1) ? 95 : 85);
|
||||||
|
- printl("Refresh Rate in extended temp range",
|
||||||
|
- ($bytes->[31] & 2) ? "2X" : "1X");
|
||||||
|
+ printl_cond($bytes->[31] & 1,
|
||||||
|
+ "Refresh Rate in extended temp range",
|
||||||
|
+ ($bytes->[31] & 2) ? "1X" : "2X");
|
||||||
|
printl("Auto Self-Refresh?", ($bytes->[31] & 4) ? "Yes" : "No");
|
||||||
|
printl("On-Die Thermal Sensor readout?",
|
||||||
|
($bytes->[31] & 8) ? "Yes" : "No");
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 19 07:40:41 UTC 2014 - jdelvare@suse.com
|
||||||
|
|
||||||
|
- i2c-tools-r6250-ddr3-fix-ext-temp-refresh.diff: Fix DDR3 extended
|
||||||
|
temp range refresh rate decoding.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 22 22:40:32 CET 2014 - jdelvare@suse.de
|
Sat Feb 22 22:40:32 CET 2014 - jdelvare@suse.de
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ Requires: udev
|
|||||||
Recommends: modules
|
Recommends: modules
|
||||||
Source0: http://dl.lm-sensors.org/%{name}/releases/%{name}-%{version}.tar.bz2
|
Source0: http://dl.lm-sensors.org/%{name}/releases/%{name}-%{version}.tar.bz2
|
||||||
Source1: http://dl.lm-sensors.org/%{name}/releases/%{name}-%{version}.tar.bz2.sig
|
Source1: http://dl.lm-sensors.org/%{name}/releases/%{name}-%{version}.tar.bz2.sig
|
||||||
|
Patch0: i2c-tools-r6250-ddr3-fix-ext-temp-refresh.diff
|
||||||
Patch90: i2c-tools-hackweek-9-dependencies.diff
|
Patch90: i2c-tools-hackweek-9-dependencies.diff
|
||||||
Patch91: i2c-tools-hackweek-9-improve-DDR3-support.diff
|
Patch91: i2c-tools-hackweek-9-improve-DDR3-support.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -48,6 +49,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
%patch90 -p1
|
%patch90 -p1
|
||||||
%patch91 -p1
|
%patch91 -p1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user