Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
i2c-tools
i2c-tools-r6109-fix-decoding-revision.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File i2c-tools-r6109-fix-decoding-revision.diff of Package i2c-tools
Subject: decode-dimms: Fix decoding of SDR SPD revision Upstream: yes, r6109 Fix decoding of SDR SPD revision. The encoding changed with revision 1.2. --- eeprom/decode-dimms | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- i2c-tools-3.1.0.orig/eeprom/decode-dimms +++ i2c-tools-3.1.0/eeprom/decode-dimms @@ -591,7 +591,9 @@ sub decode_sdr_sdram($) my $temp; # SPD revision - printl("SPD Revision", $bytes->[62]); + # Starting with SPD revision 1.2, this byte is encoded in BCD + printl("SPD Revision", $bytes->[62] < 0x12 ? $bytes->[62] : + ($bytes->[62] >> 4) . "." . ($bytes->[62] & 0xf)); #size computation
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor