Update VIA C3 CentaurHauls detection

This commit is contained in:
Stas Degteff 2005-10-26 16:00:32 +00:00
parent 58f5e0332f
commit b5dc91c02d

View File

@ -259,9 +259,16 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
} }
else if (!strcmp("CyrixInstead", v_name)) else if (!strcmp("CyrixInstead", v_name))
sprintf(m_name, "CyrF%dM%d", family, model); sprintf(m_name, "CyrF%dM%d", family, model);
else if (!strcmp("CentaurHauls", v_name)) else if (!strcmp("CentaurHauls", v_name)) {
sprintf(m_name, "CenF%dM%d", family, model); switch (family)
else { {
case 6:
sprintf(m_name, "VIA_C3_686", family, model);
break;
default:
sprintf(m_name, "VIA F%dM%d", family, model);
}
}else{
if (model) { if (model) {
sprintf(m_name, "CPU %3s-F%dM%d", v_name, family, model); sprintf(m_name, "CPU %3s-F%dM%d", v_name, family, model);
}else{ }else{