From c661e550534783057512645dcf4e448248f88e44 Mon Sep 17 00:00:00 2001 From: Null-Ping <141347595+Null-Ping@users.noreply.github.com> Date: Mon, 13 May 2024 16:20:27 +0200 Subject: [PATCH] PhysicalMemory: Fix ram vendor names from ids. (#917) Change 0x0198 from HyperX to Kingston to match https://www.jedec.org/standards-documents/docs/jep-106ab. (The standard does not contain an entry for HyperX at all). Remove the ambiguous 0x1315 - according to the standard, it belongs to Tioga Technologies and not Crucial. Rename Hynix to SK Hynix to match the standard. --- src/detection/physicalmemory/physicalmemory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/detection/physicalmemory/physicalmemory.c b/src/detection/physicalmemory/physicalmemory.c index f8137c7be..cda43c3a5 100644 --- a/src/detection/physicalmemory/physicalmemory.c +++ b/src/detection/physicalmemory/physicalmemory.c @@ -5,15 +5,15 @@ static inline const char* getVendorString(unsigned vendorId) switch (vendorId) { case 0x017A: return "Apacer"; - case 0x0198: return "HyperX"; + case 0x0198: return "Kingston"; case 0x029E: return "Corsair"; case 0x04CB: return "A-DATA"; case 0x04CD: return "G-Skill"; - case 0x059B: case 0x859B: case 0x1315: return "Crucial"; + case 0x059B: case 0x859B: return "Crucial"; case 0x00CE: case 0x80CE: case 0xCE00: return "Samsung"; case 0x014F: return "Transcend"; case 0x2C00: case 0x802C: return "Micron"; - case 0xAD00: case 0x80AD: return "Hynix"; + case 0xAD00: case 0x80AD: return "SK Hynix"; case 0x5105: case 0x8551: return "Qimonda"; case 0x02FE: return "Elpida"; default: return NULL;