Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/oea Don't attempt to probe the cache with l...



details:   https://anonhg.NetBSD.org/src/rev/0b150dc36479
branches:  trunk
changeset: 572542:0b150dc36479
user:      briggs <briggs%NetBSD.org@localhost>
date:      Fri Jan 07 20:41:35 2005 +0000

description:
Don't attempt to probe the cache with l2cr on 604ev.  From Tim Kelly.

diffstat:

 sys/arch/powerpc/oea/cpu_subr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r c213eafeab4a -r 0b150dc36479 sys/arch/powerpc/oea/cpu_subr.c
--- a/sys/arch/powerpc/oea/cpu_subr.c   Fri Jan 07 18:56:40 2005 +0000
+++ b/sys/arch/powerpc/oea/cpu_subr.c   Fri Jan 07 20:41:35 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_subr.c,v 1.16 2004/12/08 03:07:03 briggs Exp $     */
+/*     $NetBSD: cpu_subr.c,v 1.17 2005/01/07 20:41:35 briggs Exp $     */
 
 /*-
  * Copyright (c) 2001 Matt Thomas.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.16 2004/12/08 03:07:03 briggs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.17 2005/01/07 20:41:35 briggs Exp $");
 
 #include "opt_ppcparam.h"
 #include "opt_multiprocessor.h"
@@ -448,8 +448,8 @@
                aprint_normal("%s: ", self->dv_xname);
                cpu_print_speed();
 
-               if (vers == MPC604ev || vers == MPC750 || vers == MPC7400 ||
-                   vers == IBM750FX || vers == MPC7410 || MPC745X_P(vers)) {
+               if (vers == IBM750FX || vers == MPC750 ||
+                   vers == MPC7400  || vers == MPC7410 || MPC745X_P(vers)) {
                        if (MPC745X_P(vers)) {
                                cpu_config_l3cr(vers);
                        } else {



Home | Main Index | Thread Index | Old Index