Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/powerpc/mpc6xx Pull up revision 1.22 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/431469786da2
branches:  netbsd-1-6
changeset: 528035:431469786da2
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 21 05:35:22 2002 +0000

description:
Pull up revision 1.22 (requested by briggs in ticket #335):
Pick up support for a few more things for the IBM750FX: l2cache
configuration and temperature sensor support, for example.

diffstat:

 sys/arch/powerpc/mpc6xx/cpu_subr.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 94f02a4354b4 -r 431469786da2 sys/arch/powerpc/mpc6xx/cpu_subr.c
--- a/sys/arch/powerpc/mpc6xx/cpu_subr.c        Fri Jun 21 05:34:42 2002 +0000
+++ b/sys/arch/powerpc/mpc6xx/cpu_subr.c        Fri Jun 21 05:35:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_subr.c,v 1.14.4.3 2002/06/21 05:33:01 lukem Exp $  */
+/*     $NetBSD: cpu_subr.c,v 1.14.4.4 2002/06/21 05:35:22 lukem Exp $  */
 
 /*-
  * Copyright (c) 2001 Matt Thomas.
@@ -224,6 +224,7 @@
 
 #ifdef NAPMODE
        switch (vers) {
+       case IBM750FX:
        case MPC750:
        case MPC7400:
                /* Select NAP mode. */
@@ -234,6 +235,7 @@
 #endif
 
        switch (vers) {
+       case IBM750FX:
        case MPC750:
                hid0 &= ~HID0_DBP;              /* XXX correct? */
                hid0 |= HID0_EMCP | HID0_BTIC | HID0_SGE | HID0_BHT;
@@ -274,7 +276,7 @@
        /*
         * Display speed and cache configuration.
         */
-       if (vers == MPC750 || vers == MPC7400 ||
+       if (vers == MPC750 || vers == MPC7400 || vers == IBM750FX ||
            vers == MPC7410 || vers == MPC7450 || vers == MPC7455) {
                printf("%s", self->dv_xname);
                cpu_print_speed();
@@ -289,7 +291,7 @@
         * XXX supported by Motorola and may return values that are off by 
         * XXX 35-55 degrees C.
         */
-       if (vers == MPC750)
+       if (vers == MPC750 || vers == IBM750FX)
                cpu_tau_setup(ci);
 #endif
 



Home | Main Index | Thread Index | Old Index