Chameleon

Chameleon Commit Details

Date:2010-02-22 14:09:53 (14 years 1 month ago)
Author:Rekursor
Commit:109
Parents: 108
Message:Fixed a copy/paste bug in smbios_patcher get_mem_speed().
Changes:
M/trunk/i386/libsaio/smbios_patcher.c

File differences

trunk/i386/libsaio/smbios_patcher.c
175175
176176
177177
178
178
179179
180180
181181
if (table_num < MAX_RAM_SLOTS) {
map = Platform.DMI.DIMM[table_num];
if (Platform.RAM.DIMM[map].InUse && Platform.RAM.DIMM[map].Type != 0) {
if (Platform.RAM.DIMM[map].InUse && Platform.RAM.DIMM[map].Frequency != 0) {
DBG("RAM Detected Freq = %d Mhz\n", Platform.RAM.DIMM[map].Frequency);
return Platform.RAM.DIMM[map].Frequency;
}

Archive Download the corresponding diff file

Revision: 109