The table of known CPU models ends with an entry that has a version
of 0, not with an entry that has an empty CPU name. Submitted by: Andrew Turner (andrew@fubar.geek.nz)
This commit is contained in:
parent
03dc38a48b
commit
9bc4cd63f3
@ -130,7 +130,7 @@ cpu_setup(u_int cpuid)
|
||||
min = (pvr >> 0) & 0xf;
|
||||
}
|
||||
|
||||
for (cp = models; cp->name[0] != '\0'; cp++) {
|
||||
for (cp = models; cp->version != 0; cp++) {
|
||||
if (cp->version == vers)
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user