Index: branches/azimutz/trunkAutoResolution/i386/libsaio/spd.c =================================================================== --- branches/azimutz/trunkAutoResolution/i386/libsaio/spd.c (revision 1019) +++ branches/azimutz/trunkAutoResolution/i386/libsaio/spd.c (revision 1020) @@ -342,19 +342,17 @@ slot->Vendor, slot->PartNo, slot->SerialNo); + -#if DEBUG_SPD - //Azi: this was gone with mem.c... remove?? - dumpPhysAddr("spd content: ", slot->spd, spd_size); - getchar(); -#endif } // laptops sometimes show slot 0 and 2 with slot 1 empty when only 2 slots are presents so: Platform.DMI.DIMM[i]= - i>0 && Platform.RAM.DIMM[1].InUse==false && fullBanks && Platform.DMI.CntMemorySlots == 2 ? - mapping[i] : i; // for laptops case, mapping setup would need to be more generic than this + i>0 && Platform.RAM.DIMM[1].InUse==false && fullBanks && Platform.DMI.CntMemorySlots == 2 ? + mapping[i] : i; // for laptops case, mapping setup would need to be more generic than this + + slot->spd = NULL; } // for Index: branches/azimutz/trunkAutoResolution/i386/libsaio/platform.h =================================================================== --- branches/azimutz/trunkAutoResolution/i386/libsaio/platform.h (revision 1019) +++ branches/azimutz/trunkAutoResolution/i386/libsaio/platform.h (revision 1020) @@ -141,7 +141,7 @@ } RAM; struct DMI { - int MaxMemorySlots; // number of memory slots polulated by SMBIOS + int MaxMemorySlots; // number of memory slots populated by SMBIOS int CntMemorySlots; // number of memory slots counted int MemoryModules; // number of memory modules installed int DIMM[MAX_RAM_SLOTS]; // Information and SPD mapping for each slot Index: branches/azimutz/trunkAutoResolution/i386/libsaio/smbios_getters.c =================================================================== --- branches/azimutz/trunkAutoResolution/i386/libsaio/smbios_getters.c (revision 1019) +++ branches/azimutz/trunkAutoResolution/i386/libsaio/smbios_getters.c (revision 1020) @@ -258,6 +258,9 @@ int map; idx++; + + DBG("getSMBMemoryDeviceSerialNumber index: %d, MAX_RAM_SLOTS: %d\n",idx,MAX_RAM_SLOTS); + if (idx < MAX_RAM_SLOTS) { map = Platform.DMI.DIMM[idx]; Property changes on: branches/azimutz/trunkAutoResolution ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r1015-1019 Index: branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/spd.c =================================================================== --- branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/spd.c (revision 1019) +++ branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/spd.c (revision 1020) @@ -342,19 +342,17 @@ slot->Vendor, slot->PartNo, slot->SerialNo); + -#if DEBUG_SPD - //Azi: this was gone with mem.c... remove?? - dumpPhysAddr("spd content: ", slot->spd, spd_size); - getchar(); -#endif } // laptops sometimes show slot 0 and 2 with slot 1 empty when only 2 slots are presents so: Platform.DMI.DIMM[i]= - i>0 && Platform.RAM.DIMM[1].InUse==false && fullBanks && Platform.DMI.CntMemorySlots == 2 ? - mapping[i] : i; // for laptops case, mapping setup would need to be more generic than this + i>0 && Platform.RAM.DIMM[1].InUse==false && fullBanks && Platform.DMI.CntMemorySlots == 2 ? + mapping[i] : i; // for laptops case, mapping setup would need to be more generic than this + + slot->spd = NULL; } // for Index: branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/platform.h =================================================================== --- branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/platform.h (revision 1019) +++ branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/platform.h (revision 1020) @@ -141,7 +141,7 @@ } RAM; struct DMI { - int MaxMemorySlots; // number of memory slots polulated by SMBIOS + int MaxMemorySlots; // number of memory slots populated by SMBIOS int CntMemorySlots; // number of memory slots counted int MemoryModules; // number of memory modules installed int DIMM[MAX_RAM_SLOTS]; // Information and SPD mapping for each slot Index: branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/smbios_getters.c =================================================================== --- branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/smbios_getters.c (revision 1019) +++ branches/azimutz/trunkGraphicsEnablerModules/i386/libsaio/smbios_getters.c (revision 1020) @@ -258,6 +258,9 @@ int map; idx++; + + DBG("getSMBMemoryDeviceSerialNumber index: %d, MAX_RAM_SLOTS: %d\n",idx,MAX_RAM_SLOTS); + if (idx < MAX_RAM_SLOTS) { map = Platform.DMI.DIMM[idx]; Property changes on: branches/azimutz/trunkGraphicsEnablerModules ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r808-1009,1011,1015-1019