From 9d2da71e3d635b6b9322b1ce04e4bdd8fd2e80ff Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 30 Nov 2009 12:55:12 +0100 Subject: dmi: More processors Impact: More processors More processors in the DMI table --- com32/gpllib/dmi/dmi_processor.c | 51 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/com32/gpllib/dmi/dmi_processor.c b/com32/gpllib/dmi/dmi_processor.c index d51b0281..fd007da3 100644 --- a/com32/gpllib/dmi/dmi_processor.c +++ b/com32/gpllib/dmi/dmi_processor.c @@ -305,7 +305,54 @@ const char *dmi_processor_family(uint8_t code, char *manufacturer) NULL, /* 0xFC */ NULL, NULL, - NULL /* 0xFF */ + NULL, /* 0xFF */ + NULL, + NULL, + NULL, + NULL, + "SH-3", + "SH-4", + NULL, /*0x106*/ + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, /*0x110*/ + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + "ARM", + "StrongARM", + NULL, /*0x19A*/ + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, /*0x120*/ + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, /*0x12A*/ + NULL, + "6x86", + "MediaGX", + "MII" /*0x12E*/ /* master.mif has values beyond that, but they can't be used for DMI */ }; /* Special case for ambiguous value 0xBE */ @@ -320,7 +367,7 @@ const char *dmi_processor_family(uint8_t code, char *manufacturer) return "Core 2 or K7"; } - if (family[code] != NULL) { + if ((code<=0x12E) && (family[code] != NULL)) { return family[code]; } return out_of_spec; -- cgit