Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/x86 Catch up with x86 on cpufeaturebus.



details:   https://anonhg.NetBSD.org/src/rev/509f267c410c
branches:  trunk
changeset: 762641:509f267c410c
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Feb 24 19:00:58 2011 +0000

description:
Catch up with x86 on cpufeaturebus.

diffstat:

 sys/arch/xen/x86/cpu.c |  12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diffs (33 lines):

diff -r c530239e1c50 -r 509f267c410c sys/arch/xen/x86/cpu.c
--- a/sys/arch/xen/x86/cpu.c    Thu Feb 24 18:35:40 2011 +0000
+++ b/sys/arch/xen/x86/cpu.c    Thu Feb 24 19:00:58 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.54 2011/02/24 10:56:03 jruoho Exp $  */
+/*     $NetBSD: cpu.c,v 1.55 2011/02/24 19:00:58 jruoho Exp $  */
 /* NetBSD: cpu.c,v 1.18 2004/02/20 17:35:01 yamt Exp  */
 
 /*-
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.54 2011/02/24 10:56:03 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.55 2011/02/24 19:00:58 jruoho Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -286,13 +286,7 @@
        if (ifattr_match(ifattr, "cpufeaturebus")) {
 
                if (ci->ci_frequency == NULL) {
-                       cfaa.name = "est";
-                       ci->ci_frequency = config_found_ia(self,
-                           "cpufeaturebus", &cfaa, NULL);
-               }
-
-               if (ci->ci_frequency == NULL) {
-                       cfaa.name = "powernow";
+                       cfaa.name = "frequency";
                        ci->ci_frequency = config_found_ia(self,
                            "cpufeaturebus", &cfaa, NULL);
                }



Home | Main Index | Thread Index | Old Index