Date: Sat, 16 Jan 1999 14:41:44 -0600 (CST) From: john@vapornet.net To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: i386/9530: patch for identcpu.c for intel celeron Message-ID: <199901162041.OAA54958@habanero.chili-pepper.net>
index | next in thread | raw e-mail
>Number: 9530
>Category: i386
>Synopsis: identcpu.c doesnt know about celeron
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 16 12:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: John Preisler
>Release: FreeBSD 3.0-CURRENT i386
>Organization:
disorganised
>Environment:
intel celeron 300a in a soyo sy-6bb with bios revision bb-1a7
>Description:
boot probe does not properly detect intel celeron cpu
>How-To-Repeat:
Boot machine
>Fix:
patch against 1.57 of src/sys/i386/i386/identcpu.c
--- identcpu.c.1.57 Sat Jan 16 14:22:47 1999
+++ identcpu.c.1.57.celery Sat Jan 16 14:25:36 1999
@@ -98,8 +98,9 @@
{ "Cyrix 6x86MX", CPUCLASS_686 }, /* CPU_M2 */
{ "NexGen 586", CPUCLASS_386 }, /* CPU_NX586 (XXX) */
{ "Cyrix 486S/DX", CPUCLASS_486 }, /* CPU_CY486DX */
{ "Pentium II", CPUCLASS_686 }, /* CPU_PII */
+ { "Intel Celeron", CPUCLASS_686 }, /* CPU_PII */
};
static void
do_cpuid(u_int ax, u_int *p)
@@ -199,8 +200,12 @@
cpu = CPU_PII;
break;
case 0x50:
strcat(cpu_model, "Pentium II (quarter-micron)");
+ cpu = CPU_PII;
+ break;
+ case 0x60:
+ strcat(cpu_model, "Intel Celeron");
cpu = CPU_PII;
break;
default:
strcat(cpu_model, "Unknown 80686");
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901162041.OAA54958>
