Removed K7/K8 model identification

This commit is contained in:
Ianos Gnatiuc 2005-12-19 13:31:26 +00:00
parent dac0207fe6
commit a7a51a5112

View File

@ -139,17 +139,20 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
case 6: case 6:
switch (model) switch (model)
{ {
/* need full F/M/S/Rev for identification
case 1: case 1:
case 2: case 2:
case 4: case 4:
case 6: case 6:
case 8: case 8:
strcpy(m_name, "AMD_Athlon"); strcpy(m_name, "AMD_Athlon"); // (S:0) & (S:1; Rev:80)
strcpy(m_name, "AMD_Sempron"); // (S:1; Rev:B0)
break; break;
case 3: case 3:
case 7: case 7:
strcpy(m_name, "AMD_Duron"); strcpy(m_name, "AMD_Duron");
break; break;
*/
default: default:
sprintf(m_name, "AMD_K7_M%u", model); sprintf(m_name, "AMD_K7_M%u", model);
} }
@ -158,9 +161,11 @@ static void cpuname(int family, int model, const char *v_name, char *m_name)
case 15: case 15:
switch (model) switch (model)
{ {
/* need full F/M/S/Rev for identification
case 12: case 12:
strcpy(m_name, "AMD_Sempron"); strcpy(m_name, "AMD_Sempron");
break; break;
*/
default: default:
sprintf(m_name, "AMD_K8_M%u", model); sprintf(m_name, "AMD_K8_M%u", model);
} }