Module Name:    src
Committed By:   jruoho
Date:           Thu Feb 24 19:00:59 UTC 2011

Modified Files:
        src/sys/arch/xen/x86: cpu.c

Log Message:
Catch up with x86 on cpufeaturebus.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/xen/x86/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/xen/x86/cpu.c
diff -u src/sys/arch/xen/x86/cpu.c:1.54 src/sys/arch/xen/x86/cpu.c:1.55
--- src/sys/arch/xen/x86/cpu.c:1.54	Thu Feb 24 10:56:03 2011
+++ src/sys/arch/xen/x86/cpu.c	Thu Feb 24 19:00:58 2011
@@ -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);
 		}

Reply via email to