Chameleon

Chameleon Commit Details

Date:2010-07-24 16:57:06 (8 years 11 months ago)
Author:Rekursor
Commit:220
Parents: 219
Message:Remove the MSB bit mask to match even more everest results
Changes:
M/trunk/i386/libsaio/spd.c

File differences

trunk/i386/libsaio/spd.c
200200
201201
202202
203
203
204204
205205
206206
207
207
208208
209209
210210
if (spd[SPD_MEMORY_TYPE]==SPD_MEMORY_TYPE_SDRAM_DDR3) // DDR3
{
sprintf(asciiSerial, "%X%X%X%X%X%X%X%X", SMST(122) & 0x7, SLST(122), SMST(123), SLST(123), SMST(124), SLST(124), SMST(125), SLST(125));
sprintf(asciiSerial, "%X%X%X%X%X%X%X%X", SMST(122) /*& 0x7*/, SLST(122), SMST(123), SLST(123), SMST(124), SLST(124), SMST(125), SLST(125));
}
else if (spd[SPD_MEMORY_TYPE]==SPD_MEMORY_TYPE_SDRAM_DDR2) // DDR2 or DDR
{
sprintf(asciiSerial, "%X%X%X%X%X%X%X%X", SMST(95) & 0x7, SLST(95), SMST(96), SLST(96), SMST(97), SLST(97), SMST(98), SLST(98));
sprintf(asciiSerial, "%X%X%X%X%X%X%X%X", SMST(95) /*& 0x7/*, SLST(95), SMST(96), SLST(96), SMST(97), SLST(97), SMST(98), SLST(98));
}
return strdup(asciiSerial);

Archive Download the corresponding diff file

Revision: 220