Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/hpcmips add '#ifdef VR41X1' for TX3900.



details:   https://anonhg.NetBSD.org/src/rev/debfc3f9e8ad
branches:  trunk
changeset: 481556:debfc3f9e8ad
user:      shin <shin%NetBSD.org@localhost>
date:      Wed Feb 02 03:14:31 2000 +0000

description:
add '#ifdef VR41X1' for TX3900.

diffstat:

 sys/arch/hpcmips/hpcmips/cpu.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 2ddf00aa1c89 -r debfc3f9e8ad sys/arch/hpcmips/hpcmips/cpu.c
--- a/sys/arch/hpcmips/hpcmips/cpu.c    Wed Feb 02 01:55:55 2000 +0000
+++ b/sys/arch/hpcmips/hpcmips/cpu.c    Wed Feb 02 03:14:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.2 2000/01/28 15:08:38 takemura Exp $ */
+/*     $NetBSD: cpu.c,v 1.3 2000/02/02 03:14:31 shin Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -38,6 +38,8 @@
 #include <machine/platid.h>
 #include <machine/platid_mask.h>
 
+#include "opt_vr41x1.h"
+
 /* Definition of the driver for autoconfig. */
 static int     cpumatch(struct device *, struct cfdata *, void *);
 static void    cpuattach(struct device *, struct device *, void *);
@@ -79,8 +81,10 @@
 
        cpu_identify();
 
+#ifdef VR41X1
        if (platid_match(&platid, &platid_mask_CPU_MIPS_VR_41XX)) {
                printf("cpu0: install VR specific idle routine\n");
                mips_locore_jumpvec.cpu_idle = vr_idle;
        }
+#endif
 }



Home | Main Index | Thread Index | Old Index