NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/42255: Add core i5 to cpuctl



>Number:         42255
>Category:       bin
>Synopsis:       Add core i5 to cpuctl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 31 12:15:00 +0000 2009
>Originator:     Pierre Allegraud
>Release:        amd64/current
>Organization:
>Environment:
NetBSD klarth.reseau 5.99.21 NetBSD 5.99.21 (GENERIC) #2: Mon Oct 26 18:30:17 
CET 2009  
root%klarth.reseau@localhost:/usr/obj/usr/src/sys/arch/amd64/compile/GENERIC 
amd64
>Description:
cpuctl identify 0 doesnt identify my Intel Core i5.

#cpuctl identify 0
cpu0: Intel Pentium Pro, II or III (686-class), 2675.08 MHz, id 0x106e5
>How-To-Repeat:

>Fix:
Index: arch/i386.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/cpuctl/arch/i386.c,v
retrieving revision 1.20
diff -u -r1.20 i386.c
--- arch/i386.c 2 Oct 2009 13:54:01 -0000       1.20
+++ arch/i386.c 31 Oct 2009 12:04:59 -0000
@@ -253,7 +253,7 @@
                  NULL,                 NULL,
                  "Core i7 (Nehalem)",  NULL,
                  "Atom",               "XeonMP (Nehalem)",
-                  NULL,                NULL} },
+                 "Core i5 (Nehalem)",  NULL} },
        { /* End of list */
          0x00, { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
                  NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} }



Home | Main Index | Thread Index | Old Index