My best regards CPUID

Masanori Takeishi marina at yaya.forks.co.jp
Thu Mar 27 11:02:46 PST 2003


Hi!
I'm used Athlon XP 1400+ ( mobile ) (sometime .. su)
but Unknown CPU ....... (by dmesg)

I think that there is a problem about an indefinite element of AMD
there is same another CPUs.

I thought.  I want to propose it.
An answer prepared below.

I hope that it is inserted in the 4.8 RELEASE
but, I think so that is unreasonable ..... hahaha
Next Time so .., To the next opportunity 
This should conduct it because it is not difficult.

-------- patch ----------
--- identcpu.c	Tue Feb 25 06:14:31 2003
+++ /home/marina/identcpu.c	Thu Mar 27 23:06:39 2003
@@ -272,16 +272,16 @@
 					cpu = CPU_PIII;
 					break;
 				default:
-				        strcat(cpu_model, "Unknown 80686");
+				        strcat(cpu_model, "GenuineIntel(P6) Unknown");
 					break;
 				}
 				break;
 			case 0xf00:
-				strcat(cpu_model, "Pentium 4");
+				strcat(cpu_model, "Pentium 4/Celeron");
 				cpu = CPU_P4;
 				break;
 			default:
-				strcat(cpu_model, "unknown");
+				strcat(cpu_model, "GenuineIntel Unknown");
 				break;
 			}
 
@@ -351,8 +351,11 @@
 		case 0x590:
 			strcat(cpu_model, "K6-III");
 			break;
+		case 0x680:
+			strcat(cpu_model, "Mobile Athlon XP");
+			break;
 		default:
-			strcat(cpu_model, "Unknown");
+			strcat(cpu_model, "AuthenticAMD Unknown");
 			break;
 		}
 #if defined(I586_CPU) && defined(CPU_WT_ALLOC)
@@ -432,7 +435,7 @@
 					strcat(cpu_model, "486DRu2");
 					break;
 				default:
-					strcat(cpu_model, "Unknown");
+					strcat(cpu_model, "CyrixInstead(did) Unknown");
 					break;
 				}
 				break;
@@ -460,7 +463,7 @@
 					strcat(cpu_model, "486DX4");
 					break;
 				default:
-					strcat(cpu_model, "Unknown");
+					strcat(cpu_model, "CyrixInstead(did) Unknown");
 					break;
 				}
 				break;
@@ -494,12 +497,12 @@
 					strcat(cpu_model, "486SLC/DLC");
 					break;
 				default:
-					strcat(cpu_model, "Unknown");
+					strcat(cpu_model, "CyrixInstead(did) Unknown");
 					break;
 				}
 				break;
 			default:
-				strcat(cpu_model, "Unknown");
+				strcat(cpu_model, "CyrixInstead Unknown");
 				break;
 			}
 			break;
@@ -511,7 +514,7 @@
 			strcat(cpu_model, "mP6");
 			break;
 		default:
-			strcat(cpu_model, "Unknown");
+			strcat(cpu_model, "RiseRiseRise Unknown");
 		}
 	} else if (strcmp(cpu_vendor, "CentaurHauls") == 0) {
 		switch (cpu_id & 0xff0) {
-------- end of patch ---------



More information about the freebsd-stable mailing list