Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/mpc6xx Get check for CPU type right.



details:   https://anonhg.NetBSD.org/src/rev/9e4b1f55369d
branches:  trunk
changeset: 516286:9e4b1f55369d
user:      billc <billc%NetBSD.org@localhost>
date:      Sat Oct 20 08:23:49 2001 +0000

description:
Get check for CPU type right.

diffstat:

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

diffs (17 lines):

diff -r 01305dc51d7a -r 9e4b1f55369d sys/arch/powerpc/mpc6xx/cpu_subr.c
--- a/sys/arch/powerpc/mpc6xx/cpu_subr.c        Sat Oct 20 08:22:58 2001 +0000
+++ b/sys/arch/powerpc/mpc6xx/cpu_subr.c        Sat Oct 20 08:23:49 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_subr.c,v 1.1 2001/08/26 02:47:39 matt Exp $        */
+/*     $NetBSD: cpu_subr.c,v 1.2 2001/10/20 08:23:49 billc Exp $       */
 
 /*-
  * Copyright (c) 2001 Matt Thomas.
@@ -247,7 +247,6 @@
        for (cp = models; cp->name != NULL; cp++) {
                if (cp->version == vers)
                        break;
-               cp++;
        }
 
        if (str == NULL) {



Home | Main Index | Thread Index | Old Index