From b5dc91c02d7262872346864293902906725f4459 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Wed, 26 Oct 2005 16:00:32 +0000 Subject: [PATCH] Update VIA C3 CentaurHauls detection --- goldlib/gall/gutlvers.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/goldlib/gall/gutlvers.cpp b/goldlib/gall/gutlvers.cpp index 2bde787..fb7634c 100644 --- a/goldlib/gall/gutlvers.cpp +++ b/goldlib/gall/gutlvers.cpp @@ -259,9 +259,16 @@ static void cpuname(int family, int model, const char *v_name, char *m_name) } else if (!strcmp("CyrixInstead", v_name)) sprintf(m_name, "CyrF%dM%d", family, model); - else if (!strcmp("CentaurHauls", v_name)) - sprintf(m_name, "CenF%dM%d", family, model); - else { + else if (!strcmp("CentaurHauls", v_name)) { + switch (family) + { + case 6: + sprintf(m_name, "VIA_C3_686", family, model); + break; + default: + sprintf(m_name, "VIA F%dM%d", family, model); + } + }else{ if (model) { sprintf(m_name, "CPU %3s-F%dM%d", v_name, family, model); }else{